Jürgen Ragaller wrote:
Hi Jörn


Am Sep 20, 2007 um 13:03 schrieb Joern Nettingsmeier:

Jürgen Ragaller wrote:
Am 18.09.2007 um 14:38 schrieb Jürgen Ragaller:

Now the last tiny problem to solve (for now...) is to avoid the collapsing of script tags... (right now dojo complains with a javascript alert box, that _editor_url is not set - a followup error of the partial script tag collapsing).

I accidentially had the prettyprinting transformation in my sitemap (very handy for checking the code but sometimes dangerous...).
yeah - finally this thing is working - hurray!

out of curiousity: how exactly did prettyprinting cause you trouble?
it should be fixed so that it doesn't eat javascript sections...


Empty tags are collapsed:

e.g.:

<script src="..." ></script> collapses to <script /> (this was the case with the dojo script imports in the head section)
<textarea></textarea> collapses to <textarea />

The collapsed version is correct xhtml but for instance <script /> let's firefox go crazy

oh yeah, i know about that issue.
however, strictly speaking it's not a prettyprinting issue - the collapsing is done by the XSLT processor, it's not caused by the prettyprinting stylesheet. so i wonder why it should work when you disable prettyprinting. i'm using <script>&#160;</script> to hack around this issue, which is transformation-safe...

--
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to