• lpxxfaintxx

    (@lpxxfaintxx)


    This is exactly what’s in my MySQL field database:

    <OBJECT ID="MediaPlayer" WIDTH=468 HEIGHT=368 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    codebase="nsmp2inf.cab#Version=6,4,7,1112" tppabs="https://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
    standby="Loading Microsoft Windows Media Player components..."
    type="application/x-oleobject">
        <PARAM NAME="FileName" VALUE="mms://videostream.qvc.com/1270_21_01.asf">
        <PARAM NAME="ShowControls" VALUE="1">
        <PARAM NAME="ShowDisplay" VALUE="0">
        <PARAM NAME="ShowStatusBar" VALUE="1">
        <PARAM NAME="AutoSize" VALUE="1">
    	  <PARAM NAME="AutoStart" VALUE="true">
        <Embed type="application/x-mplayer2"
            pluginspage="https://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/"
            filename="mms://videostream.qvc.com/1270_21_01.asf"
            src="mms://videostream.qvc.com/1270_21_01.asf"
            Name=MediaPlayer
            ShowControls=1
            ShowDisplay=0
            ShowStatusBar=1
    		autostart=true
            width=468
            height=368>
        </embed>
    </OBJECT><br><strong>Name:</strong> QVC Homeshopping TV<br><strong>Description:</strong> Your source for quality products from top name brands.

    However, when I publish the post, it screws up my HTML and I end up with this:

    <OBJECT ID="MediaPlayer" WIDTH=468 HEIGHT=368 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    codebase="nsmp2inf.cab#Version=6,4,7,1112" tppabs="https://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
    standby="Loading Microsoft Windows Media Player components..."
    type="application/x-oleobject">
        <PARAM NAME="FileName" VALUE="mms://70.159.56.190:8080">
    
        <PARAM NAME="ShowControls" VALUE="1">
        <PARAM NAME="ShowDisplay" VALUE="0">
        <PARAM NAME="ShowStatusBar" VALUE="1">
        <PARAM NAME="AutoSize" VALUE="1">
    	  <PARAM NAME="AutoStart" VALUE="true">
        <Embed type="application/x-mplayer2"
            pluginspage="https://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/"
            filename="mms://70.159.56.190:8080"
    
            src="mms://70.159.56.190:8080"
            Name=MediaPlayer
            ShowControls=1
            ShowDisplay=0
            ShowStatusBar=1
    		autostart=true
    
            width=468
            height=368>
        </embed>
    </OBJECT><strong>Name:</strong> WFK Channel<strong>Description:</strong> WKFK Channel 7 is dedicated to air only family friendly entertaining and educational programs.

    It adds a line break (<br>) EVERY NEW LINE! It screws up my wordpress, and now I have 800 posts that are screwed up. Is there any way to prevent WordPress from adding the <br />‘s?

    Thanks

Viewing 1 replies (of 1 total)
  • gfindlay

    (@gfindlay)

    Yes. If you’d bothered to do a search, you’d have found it. Look for a plugin to turn off the wpautop filter – either textcontrol plugin from my site, or various other plugins.

    Do a search…

Viewing 1 replies (of 1 total)
  • The topic ‘WP adding <br />’s in post?’ is closed to new replies.