[wp-trac] [WordPress Trac] #11939: Make Script Elements HTML4 and XHTML compilant
WordPress Trac
wp-trac at lists.automattic.com
Sun May 16 22:03:27 UTC 2010
#11939: Make Script Elements HTML4 and XHTML compilant
-----------------------------+----------------------------------------------
Reporter: hakre | Owner:
Type: feature request | Status: closed
Priority: low | Milestone: Future Release
Component: Validation | Version: 3.0
Severity: normal | Resolution: wontfix
Keywords: |
-----------------------------+----------------------------------------------
Comment(by azaozz):
Replying to [comment:10 hakre]:
I understand your concern, that's why I didn't close this ticket. But
unless there is a current browser that is having a problem parsing XHTML
1.0 transitional, don't think we need to change this. That might happen as
browsers start to support HTML 5.0 although I think the chances are very
slim that they will stop supporting XHTML 1.0.
As far as I remember the need to escape the content of `<script>` blocks
came many years ago in HTML 2.0 (or was it HTML 3.0). It was needed to
hide these blocks from browsers that didn't support JS at the time and
would display it. Since then all browsers understand the `<script>` tag
and would run the JS instead of trying to parse it as HTML.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11939#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list