On Jan 20, 2011, at 8:48 PM, Stephan Beal wrote:

> Thank you for sharing! i thought i'd report that this works beautifully on 
> Firefox but Chrome, though it does "see" the css (the DOM inspector shows the 
> properties your code applies), it isn't colorizing as it should. This is 
> almost certainly not a bug in your script, but an incompatibility in Chrome.
> 

Interesting. Which version of Chrome and OS is it? I developed and tested it 
with 8.0.552.237 on Mac, and it works.

> LOL! i found that by removing this line:
> 
>  s = "<pre>" + s + "</pre>"; // workaround for IE
> 
> this problem goes away!
> 
> What happens (on IE) without that workaround? (i don't have/use Windows)

In IE 7 the whole <pre> with diff gets collapsed into one line (IE removes line 
breaks). Not sure about IE8/9.

--
Dmitry Chestnykh

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to