You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Try to tokenize valid HTML where CDATA section contains 'tags'
What is the expected output?
No tokenization inside CDATA section is done.
See
http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#cdata-section-state
What do you see instead?
html.Tokenizer will report <x> from "<![CDATA[ <x> ]]>"
Which compiler are you using (5g, 6g, 8g, gccgo)?
8g
Which operating system are you using?
Windows 7
Which revision are you using? (hg identify)
gowin32_2011-03-07.1 (unsure which hg revision really)
Please provide any additional information below.
This bug is related to 1661 where javascript code gets missparsed.
issue #1661 would vanish for javascript which is properly enclosed
in a CDATA section if this bug would be solved.
Simple bug-triggering demo attached
Attachments:
The text was updated successfully, but these errors were encountered: