[Bug 23587] Provide rationale for content restrictions for script tag

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23587

--- Comment #4 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
(In reply to Leif Halvard Silli from comment #1)
> (In reply to Jakub Łopuszański from comment #0)

> SOLUTION(S) FOR AUTHORS: 

> (2) Solution: Inside the script element, the spec should recommend that
>     authors escape not only the end tag </script> but also the start tag
>     <script>. Alternatively, authors could make sure that the script
>     elemnets ends wiht *two* end tags </script> ...

Or eventually: authors should be told to escape the start tag <script> if it
occurs after the string <!-- inside a script element.

Also, validators should cry out with a warning/error if it sees the construct 

  <!--<script> 

inside a script element.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 22 October 2013 12:22:13 UTC