[Kss-devel] replaceInnerHTML fails with IE7 with certain strings

Balazs Ree ree at ree.hu
Mon Jan 14 09:40:16 CET 2008


Hi Hedley,

On Mon, 14 Jan 2008 10:19:38 +0200, Hedley Roos wrote:

> (A)
> s = '''some string'''
> 
> (B)
> s = '''
> bla'''
> 
> The call core.replaceInnerHTML(someselector, s) works for A but not B.
> This affects only IE7 (not sure about IE6, FF is fine). The fix is
> trivial (strip s before the replace call), but why does this happen?
> This can really trip up people since IE doesn't give a Javascript error.

Which version of kss.core does this happen with?

In case you have not tried yet, can you please check if the 
same issue happens on the svn trunk of kss.core as well?

Thanks in advance.

Best wishes,



-- 
Balazs Ree



More information about the Kss-devel mailing list