id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	branch	branch_author	launchpad_bug
4544	Lore applies quoting to contents of script tags	jml	khorn	"Lore applies quoting to the contents of script tags, which makes scripts buggy and not work.

e.g. Save this file as `/tmp/lore/lore-quote-js.xhtml`

{{{
<html>
  <head><title>Hello</title></head>
  <body>
    <h1>Hello</h1>
    <script type=""text/javascript"">
      alert(""Hello world!"");
    </script>
  </body>
</html>
}}}

 * Copy `doc/core/howto/template.tpl` from Twisted into `/tmp/lore/`.
 * `cd /tmp/lore`
 * `lore -d .`

The contents of the generated javascript in `lore-quote-js.html` look like:

{{{
alert(&quot;Hello world!&quot;);
}}}

instead of:

{{{
alert(""Hello world!"");
}}}

You ought to be able to open `/tmp/lore/lore-quote-js.html` in your browser and see an alert dialog box pop up with ""Hello world!"".
"	defect	new	normal		lore			thijs			
