<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>iZachy</title>
	
	<link>http://izachy.com</link>
	<description>blogging to web 3.0 and beyond</description>
	<pubDate>Fri, 13 Feb 2009 01:04:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Izachy" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Izachy</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>How to Fix the Democracy Plugin n Problem</title>
		<link>http://izachy.com/2009/02/12/democracy-extra-n/</link>
		<comments>http://izachy.com/2009/02/12/democracy-extra-n/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 01:04:03 +0000</pubDate>
		<dc:creator>Ken Cheung</dc:creator>
		
		<category><![CDATA[How-to]]></category>

		<guid isPermaLink="false">http://izachy.com/?p=125</guid>
		<description><![CDATA[I noticed during a recent WordPress upgrade, the Democracy Plugin started adding an extra &#034;n&#034; each time you saved the post:

Here&#039;s how to fix the problem:
(1) With a text editor, open &#034;democracy.php&#034; - it&#039;s located in the democracy subfolder in the plugin folder.
(2) Locate the line below (around line number 331):
return preg_replace(&#039;/{democracy[\w\W\s^}]*?}/&#039;, &#039;\n&#60;div&#62;\\0&#60;/div&#62;&#039;, $content);
(3) Change [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed during a recent WordPress upgrade, the Democracy Plugin started adding an extra &#034;n&#034; each time you saved the post:</p>
<div align="center"><img src="http://izachy.com/postimages/2009/democracy-plugin.gif" width="437" height="312" alt="Democracy Plugin n Problem" border="1" /></div>
<p>Here&#039;s how to fix the problem:</p>
<p>(1) With a text editor, open &#034;democracy.php&#034; - it&#039;s located in the democracy subfolder in the plugin folder.</p>
<p>(2) Locate the line below (around line number 331):</p>
<p><small>return preg_replace(&#039;/{democracy[\w\W\s^}]*?}/&#039;, &#039;\n&lt;div&gt;\\0&lt;/div&gt;&#039;, $content);</small></p>
<p>(3) Change the last set of single quotes into double quotes:</p>
<p><small>return preg_replace(&#039;/{democracy[\w\W\s^}]*?}/&#039;, &#034;\n&lt;div&gt;\\0&lt;/div&gt;&#034;, $content);</small></p>
<p>That&#039;s it. That should take care of the Democracy Plugin&#039;s extra n problem.</p>
<p align="center"><a href="http://www.embeddedstar.com/careers/"><img src="http://izachy.com/adimages/jobs468.gif" border="0"></a></p>
    <p align="center"><a href="http://embeddedstar.tradepub.com/">Free Magazines</a> : : <a href="http://www.embeddedstar.com/careers/">Find a Job</a> : : <a href="http://izachy.com/">iZachy</a> : : <a href="http://daddyforever.com/">Daddy Forever</a> : : <a href="http://www.embeddedstar.com/">Embedded Star</a> : : <a href="http://edageek.com/">EDA Geek</a> : : <a href="http://edablog.com/">EDA Blog</a> : : <a href="http://fpgablog.com/">FPGA Blog</a><br />&copy; 2009 <a href="http://www.onlinedestiny.com/">Online Destiny Ltd</a> : : <a href="http://izachy.com">iZachy</a> is a trademark of Online Destiny Ltd</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/Izachy?a=7v7mkdig"><img src="http://feeds.feedburner.com/~f/Izachy?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Izachy?a=6MJoR4JP"><img src="http://feeds.feedburner.com/~f/Izachy?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/Izachy?a=3YYgtmBz"><img src="http://feeds.feedburner.com/~f/Izachy?d=133" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://izachy.com/2009/02/12/democracy-extra-n/feed/</wfw:commentRss>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.331 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-07-05 22:13:23 --><!-- Compression = gzip -->
