<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: &#091;Patch&#093; html escaping</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/patch-html-escaping</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/patch-html-escaping/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Joris on &#091;Patch&#093; html escaping</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/patch-html-escaping#p2845</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/patch-html-escaping#p2845</guid>
        	        	<description><![CDATA[<p>You could do that by setting nowrap in the td.</p>
<p>Also, there&#39;s a border-collapse css property for this, but I don&#39;t know if IE supports this. &#160;The nowrap works though</p>
]]></description>
        	        	<pubDate>Fri, 31 Oct 2008 09:32:52 +0200</pubDate>
        </item>
        <item>
        	<title>tony on &#091;Patch&#093; html escaping</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/patch-html-escaping#p2827</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/patch-html-escaping#p2827</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is set becouse of IE. When the cell is empty in IE there is no border</p>
<p>on empty cells.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 31 Oct 2008 02:21:10 +0200</pubDate>
        </item>
        <item>
        	<title>Joris on &#091;Patch&#093; html escaping</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/patch-html-escaping#p2809</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/patch-html-escaping#p2809</guid>
        	        	<description><![CDATA[<p>This patch escapes html entities. Currently, if you have an &#38; in the grid, the inputfield shows: &#38;amp;</p>
<p>In grid.celledit.js:</p>
<p>Around line 70:</p>
<p>Instead of:&#160;</p>
<p>tmp = $(cc).html().replace(/\\&#38;nbsp\\;/ig,&#39;&#39;);</p>
<p>use:</p>
<p>tmp = $(cc).text();</p>
</p>
<p>I changed the &#38;nbsp; replace &#160;into:</p>
<p>&#160;if (tmp.charCodeAt(0) == 160) {&#160;tmp = tmp.substring(1); }</p>
</p>
<p>I&#39;m not sure why the replace is neccesary, but I had this annoying blank character in my edit fields.</p>
</p>
<p>Also, my edit ajax call returns the new value for a cell (for example, it formats currency, or changes into lowecase). &#160;I have:</p>
<p>if (stat == &#39;success&#39;) {</p>
</p>
<p><span> </span>v2 = result.responseText;</p>
<p>v2 = $(&#39;&#60;div/&#62;&#39;).text(v2).html();</p>
<div></div>
<div>in line 170?</div>
]]></description>
        	        	<pubDate>Thu, 30 Oct 2008 05:46:21 +0200</pubDate>
        </item>
</channel>
</rss>