<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>picofarad.org &#187; wordpress</title>
	<atom:link href="http://picofarad.org/blog/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://picofarad.org/blog/</link>
	<description>Karl-Martin Skontorp's homepage and blog.</description>
	<lastBuildDate>Sun, 10 Jan 2010 17:28:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Unwanted &lt;p&gt; tags added by WordPress</title>
		<link>http://picofarad.org/blog/unwanted-p-tags-added-by-wordpress/</link>
		<comments>http://picofarad.org/blog/unwanted-p-tags-added-by-wordpress/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 18:17:55 +0000</pubDate>
		<dc:creator>kms</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://picofarad.org/?p=421</guid>
		<description><![CDATA[I prefer to edit raw HTML for my content and have been bothered by WordPress adding  &#60;p&#62; and &#60;br /&#62; tags at newlines in the source. I initially thought this had something to do with the editor, even though I had checked Disable the visual editor when writing in my profile settings. Actually, the [...]]]></description>
			<content:encoded><![CDATA[<p>I prefer to edit raw HTML for my content and have been bothered by <a href="http://wordpress.org/">WordPress</a> adding  &lt;p&gt; and &lt;br /&gt; tags at newlines in the source. I initially thought this had something to do with the editor, even though I had checked <i>Disable the visual editor when writing</i> in my profile settings. Actually, the newline substitution is done by WordPress in a filter called, not surprisingly, <i>wpautop</i>. I commented out the following line in <i>wp-includes/default-filters.php</i> and the problem is gone.</p>

<p>
<code>
// add_filter(&apos;the_content&apos;, &apos;wpautop&apos;);
</code>
</p>

<p>Thanks to <a href='http://wordpress.org/support/topic/178765'>WordPress › Support » Unwanted &lt;p&gt; tags added to pages</a>.</p>				]]></content:encoded>
			<wfw:commentRss>http://picofarad.org/blog/unwanted-p-tags-added-by-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
