Skip to content

Commit 839e33f

Browse files
committed
Add at-risk note on commenting/escaping contents of HTML script tags.
1 parent 7262050 commit 839e33f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8490,6 +8490,10 @@ <h3>Graph Containers</h3>
84908490
JSON-LD content.</p>
84918491

84928492
<section><h3>Restrictions for contents of JSON-LD <code>script</code> elements</h3>
8493+
<p class="issue atrisk">As HTML entities and comments are not allowable in
8494+
JSON, the use of comments, escapes,
8495+
and <a data-cite="HTML5/syntax.html#character-references">HTML Character references</a>
8496+
is subject to further discussion in the Working Group.</p>
84938497

84948498
<p>Depending on how the HTML document is served, certain strings may need
84958499
to be escaped. In particular, the content MAY be enclosed

0 commit comments

Comments
 (0)