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 30058 - createCDATASection handle "]]>" by closing and reopening
Summary: createCDATASection handle "]]>" by closing and reopening
Status: NEW
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: zz_retired (show other bugs)
Version: unspecified
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-02 09:50 UTC by brunoais
Modified: 2017-02-02 18:19 UTC (History)
0 users

See Also:


Attachments

Description brunoais 2017-02-02 09:50:34 UTC
I want to suggest changing the spec for createCDATASection() method such that a string that contains "]]>" transforms into two <CDATA> sections. For example:

> My blow up ]]> example

Becomes

> My blow up ]]]><![CDATA[]> example

Any ideas against this? I've been trying to find them but I just can't see how this can be something wrong...