<?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"
	>
<channel>
	<title>Comments on: Democracy Needs an Update for WordPress 2.5</title>
	<atom:link href="http://nslog.com/2008/04/07/democracy_needs_an_update_for_wordpress_25/feed" rel="self" type="application/rss+xml" />
	<link>http://nslog.com/2008/04/07/democracy_needs_an_update_for_wordpress_25</link>
	<description>The Weblog of Erik J. Barzeski</description>
	<pubDate>Sun, 06 Jul 2008 08:32:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Dana</title>
		<link>http://nslog.com/2008/04/07/democracy_needs_an_update_for_wordpress_25#comment-47292</link>
		<dc:creator>Dana</dc:creator>
		<pubDate>Fri, 18 Apr 2008 19:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2008/04/07/democracy_needs_an_update_for_wordpress_25#comment-47292</guid>
		<description>Awesome. Thanks for the fix.</description>
		<content:encoded><![CDATA[<p>Awesome. Thanks for the fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://nslog.com/2008/04/07/democracy_needs_an_update_for_wordpress_25#comment-47211</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 14 Apr 2008 01:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2008/04/07/democracy_needs_an_update_for_wordpress_25#comment-47211</guid>
		<description>Hmm, it looks like part of the code was snipped away.  Well, if you look for this line in democracy.php

function jal_add_dem_div($content)

you will see the offending \n.  Just remove it.  There's only one \n in that function.</description>
		<content:encoded><![CDATA[<p>Hmm, it looks like part of the code was snipped away.  Well, if you look for this line in democracy.php</p>
<p>function jal_add_dem_div($content)</p>
<p>you will see the offending \n.  Just remove it.  There's only one \n in that function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://nslog.com/2008/04/07/democracy_needs_an_update_for_wordpress_25#comment-47210</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 14 Apr 2008 01:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2008/04/07/democracy_needs_an_update_for_wordpress_25#comment-47210</guid>
		<description>My fix for the problem was to open democracy.php, find the line

return preg_replace('/{democracy[\w\W\s^}]*?}/', '\n\', $content);

and replace it with

return preg_replace('/{democracy[\w\W\s^}]*?}/', '\', $content);

The comment says the divs are added to maintain valid HTML, but I passed (http://the.jhu.edu/ccs/?page_id=27) through http://validator.w3.org/ and it still validates so I suppose my fix doesn't break anything.</description>
		<content:encoded><![CDATA[<p>My fix for the problem was to open democracy.php, find the line</p>
<p>return preg_replace('/{democracy[\w\W\s^}]*?}/', '\n\', $content);</p>
<p>and replace it with</p>
<p>return preg_replace('/{democracy[\w\W\s^}]*?}/', '\', $content);</p>
<p>The comment says the divs are added to maintain valid HTML, but I passed (http://the.jhu.edu/ccs/?page_id=27) through <a href="http://validator.w3.org/" >http://validator.w3.org/</a> and it still validates so I suppose my fix doesn't break anything.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
