<?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: Escaping single quotes in Ruby harder than expected</title>
	<atom:link href="http://notetoself.vrensk.com/2008/08/escaping-single-quotes-in-ruby-harder-than-expected/feed/" rel="self" type="application/rss+xml" />
	<link>http://notetoself.vrensk.com/2008/08/escaping-single-quotes-in-ruby-harder-than-expected/</link>
	<description>lest I forget</description>
	<lastBuildDate>Mon, 29 Mar 2010 10:38:38 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: DJ</title>
		<link>http://notetoself.vrensk.com/2008/08/escaping-single-quotes-in-ruby-harder-than-expected/comment-page-1/#comment-4057</link>
		<dc:creator>DJ</dc:creator>
		<pubDate>Fri, 26 Feb 2010 00:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=15#comment-4057</guid>
		<description>Cool. Thanks!</description>
		<content:encoded><![CDATA[<p>Cool. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elvi B</title>
		<link>http://notetoself.vrensk.com/2008/08/escaping-single-quotes-in-ruby-harder-than-expected/comment-page-1/#comment-207</link>
		<dc:creator>Elvi B</dc:creator>
		<pubDate>Wed, 18 Feb 2009 04:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=15#comment-207</guid>
		<description>amazing! Thanks so much for the explanation. This was a crazy one to track down.</description>
		<content:encoded><![CDATA[<p>amazing! Thanks so much for the explanation. This was a crazy one to track down.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://notetoself.vrensk.com/2008/08/escaping-single-quotes-in-ruby-harder-than-expected/comment-page-1/#comment-11</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 08 Sep 2008 22:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=15#comment-11</guid>
		<description>Argh!!! Thank you!!</description>
		<content:encoded><![CDATA[<p>Argh!!! Thank you!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ras</title>
		<link>http://notetoself.vrensk.com/2008/08/escaping-single-quotes-in-ruby-harder-than-expected/comment-page-1/#comment-8</link>
		<dc:creator>ras</dc:creator>
		<pubDate>Sat, 06 Sep 2008 09:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=15#comment-8</guid>
		<description>awwwwwwwww

Scanned this 2 hours ago and thought: nice, a solution in the beginning of the post. 

Now I see it&#039;s actually the problem. :s</description>
		<content:encoded><![CDATA[<p>awwwwwwwww</p>
<p>Scanned this 2 hours ago and thought: nice, a solution in the beginning of the post. </p>
<p>Now I see it&#8217;s actually the problem. :s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://notetoself.vrensk.com/2008/08/escaping-single-quotes-in-ruby-harder-than-expected/comment-page-1/#comment-7</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 28 Aug 2008 12:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=15#comment-7</guid>
		<description>Hello,

thanks very much for the post - I was driving myself mad with this trying to work out why my efforts to escape single quotes weren&#039;t working. Now it works nicely. :-)

As an aside, it turns out that in Rails (which is where I&#039;m coding this) there&#039;s an &quot;escape_javascript&quot; function which does it for you, although I might leave the gsub line in instead to remind me how annoying it was to get it working...

Cheers
Dave</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>thanks very much for the post &#8211; I was driving myself mad with this trying to work out why my efforts to escape single quotes weren&#8217;t working. Now it works nicely. <img src='http://notetoself.vrensk.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>As an aside, it turns out that in Rails (which is where I&#8217;m coding this) there&#8217;s an &#8220;escape_javascript&#8221; function which does it for you, although I might leave the gsub line in instead to remind me how annoying it was to get it working&#8230;</p>
<p>Cheers<br />
Dave</p>
]]></content:encoded>
	</item>
</channel>
</rss>
