This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4351 - HTML Tags in javaScript's document.write
Summary: HTML Tags in javaScript's document.write
Status: CLOSED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-25 22:53 UTC by mail
Modified: 2007-02-26 14:22 UTC (History)
0 users

See Also:


Attachments

Description mail 2007-02-25 22:53:09 UTC
Wuahhhhh, look at this: The validator does not accept html Tags in javascript that it shouldn't parse at all:

<script>document.write("<h1>Header<\/header>");</script> produces much much errors, that aren't really there.
Comment 1 Olivier Thereaux 2007-02-26 00:03:21 UTC
(In reply to comment #0)
> Wuahhhhh, look at this: The validator does not accept html Tags in javascript
> that it shouldn't parse at all:

Please read the FAQ.
http://www.htmlhelp.com/tools/validator/problems.html#script