<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to prevent wordpress from messing up with your rich editing tags</title>
	<atom:link href="http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/</link>
	<description>Life and Business - on Internet and Beyond</description>
	<lastBuildDate>Mon, 24 May 2010 09:54:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: William</title>
		<link>http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/comment-page-1/#comment-379</link>
		<dc:creator>William</dc:creator>
		<pubDate>Sun, 20 Dec 2009 19:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=125#comment-379</guid>
		<description>Hallelujah! I was tearing my remaining hair out then I finally realised that wp was messing with my html. I would never have known what to do as I am php-ignorant.

Thank you so much for this. It seems to work fine for me.

cheers

William</description>
		<content:encoded><![CDATA[<p>Hallelujah! I was tearing my remaining hair out then I finally realised that wp was messing with my html. I would never have known what to do as I am php-ignorant.</p>
<p>Thank you so much for this. It seems to work fine for me.</p>
<p>cheers</p>
<p>William</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wondergirl</title>
		<link>http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/comment-page-1/#comment-356</link>
		<dc:creator>wondergirl</dc:creator>
		<pubDate>Wed, 05 Aug 2009 15:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=125#comment-356</guid>
		<description>Same as Matt, unable to solve the line break problem. Anyone find a solution for this?</description>
		<content:encoded><![CDATA[<p>Same as Matt, unable to solve the line break problem. Anyone find a solution for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Holmes</title>
		<link>http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/comment-page-1/#comment-343</link>
		<dc:creator>Matt Holmes</dc:creator>
		<pubDate>Tue, 09 Jun 2009 19:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=125#comment-343</guid>
		<description>none of these worked for me.  The plugin didn&#039;t work, the formatting div &amp; span tags didn&#039;t work, and commenting out the functions in the formatting.php file broke the display of the whole website.  Still, nothing is solving my line break problem</description>
		<content:encoded><![CDATA[<p>none of these worked for me.  The plugin didn&#8217;t work, the formatting div &amp; span tags didn&#8217;t work, and commenting out the functions in the formatting.php file broke the display of the whole website.  Still, nothing is solving my line break problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicopolitan &#187; Blog Archive &#187; Who Has The Jitters? This Guy.</title>
		<link>http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/comment-page-1/#comment-303</link>
		<dc:creator>Nicopolitan &#187; Blog Archive &#187; Who Has The Jitters? This Guy.</dc:creator>
		<pubDate>Thu, 29 Jan 2009 08:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=125#comment-303</guid>
		<description>[...] Raw HTML, which lets you escape your code pretty easily and effectively. This means that, unlike the WP-allow tags plugin (which actually served me pretty well), this one can be evoked on a case-by-case basis and [...]</description>
		<content:encoded><![CDATA[<p>[...] Raw HTML, which lets you escape your code pretty easily and effectively. This means that, unlike the WP-allow tags plugin (which actually served me pretty well), this one can be evoked on a case-by-case basis and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicopolitan &#187; Blog Archive &#187; Nerd Talk and Colloquial</title>
		<link>http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/comment-page-1/#comment-297</link>
		<dc:creator>Nicopolitan &#187; Blog Archive &#187; Nerd Talk and Colloquial</dc:creator>
		<pubDate>Mon, 19 Jan 2009 23:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=125#comment-297</guid>
		<description>[...] posts, like video embed code for sites outside of YouTube or widgets or straight up Javascript. So I found this plugin. But does it work? Let&#039;s find [...]</description>
		<content:encoded><![CDATA[<p>[...] posts, like video embed code for sites outside of YouTube or widgets or straight up Javascript. So I found this plugin. But does it work? Let&#8217;s find [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Pecheff</title>
		<link>http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/comment-page-1/#comment-249</link>
		<dc:creator>John Pecheff</dc:creator>
		<pubDate>Fri, 14 Nov 2008 04:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=125#comment-249</guid>
		<description>To help other users:

I searched for a while how to prevent the WP editor from changing my code, how to desactivate wpautop or wptexturize, how to remove the filters, etc, until I came to this post and finally &quot;broke the code&quot; for me. Read on.

So I found and tried WP-allow-tags because I just could not put in a simple script to verify a form in a post. But the plugin did not work for me, so I tried to modify it and create a new wpautop function. 

WP then just disabled the plugin as I created a fatal error, but at the same time it gave me the line of code where there was a conflict (I could have found it by searching through the installation of course). 

So I went to the  wp-includes/formatting.php  file and simply commented both function wpautop and wptexturize just leaving the proper return at the end. See below.

function wpautop($pee, $br = 1) {
/*
... lines of code ...
*/ 
return $pee; 
}

Same for wptexturize:

function wptexturize($text) {
/*
... lines of code ...
return $output;
*/
return $text;
}

That for sure worked for me! No more changing of my HTML or other code in posts when saving. And I did not notice any negative effects so far.

I hope it does work for you too if you need it that way.

Best,
John</description>
		<content:encoded><![CDATA[<p>To help other users:</p>
<p>I searched for a while how to prevent the WP editor from changing my code, how to desactivate wpautop or wptexturize, how to remove the filters, etc, until I came to this post and finally &#8220;broke the code&#8221; for me. Read on.</p>
<p>So I found and tried WP-allow-tags because I just could not put in a simple script to verify a form in a post. But the plugin did not work for me, so I tried to modify it and create a new wpautop function. </p>
<p>WP then just disabled the plugin as I created a fatal error, but at the same time it gave me the line of code where there was a conflict (I could have found it by searching through the installation of course). </p>
<p>So I went to the  wp-includes/formatting.php  file and simply commented both function wpautop and wptexturize just leaving the proper return at the end. See below.</p>
<p>function wpautop($pee, $br = 1) {<br />
/*<br />
&#8230; lines of code &#8230;<br />
*/<br />
return $pee;<br />
}</p>
<p>Same for wptexturize:</p>
<p>function wptexturize($text) {<br />
/*<br />
&#8230; lines of code &#8230;<br />
return $output;<br />
*/<br />
return $text;<br />
}</p>
<p>That for sure worked for me! No more changing of my HTML or other code in posts when saving. And I did not notice any negative effects so far.</p>
<p>I hope it does work for you too if you need it that way.</p>
<p>Best,<br />
John</p>
]]></content:encoded>
	</item>
</channel>
</rss>

