On 9/20/07, Jürgen Ragaller <[EMAIL PROTECTED]> 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
To prevent <script src="..."></script> from collapsing to <script />, one normally just adds a space character entity: <script src="..."> </script> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
