On 04/18/2012 10:04 AM, Jirka Kosek wrote: > > IE8 has very ugly feature -- if page contains scripts with large number > of lines it emits warning message warning user about potentionally slow > script. The trouble is that scripts used for search and ToC > functionality (index.js, search.js and toc.js) will contain many lines > for complex documents and will trigger annoying message in IE8. > > It seems that sufficient solution is to replace newlines with spaces. > Javascript code is the same but IE8 will not trigger warning message.
Yes, we have noticed that but we thought that there was a way to disable this warning in IE8 (which also requests the user to confirm the execution of JavaScript, no matter the size of the script). > > It seems that sufficient workaround is to modify saveTo() methods to > emit space instead of \n. Please confirm that this workaround actually works, so we can do the same change in the next release of whc. > > My only trouble is that on my project I'm using patched version of DITAC > 2.1 which uses WHC 1.0 and I can't find sources of WHC 1.0 to fix this > for myself. > > Is there archive of previous versions of WHC? Sure. Please point your Web browser to: http://www.xmlmind.com/archive/whc/ -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

