Skip to content

Commit

Permalink
Remove restrictive limitation on inline comments
Browse files Browse the repository at this point in the history
*   This limitation is not imposed by block comments
*   This limitation is not imposed by HTML
*   This limitation is not expected to be depended on by authors

Closes GH-712.
  • Loading branch information
wooorm authored and jgm committed Sep 8, 2022
1 parent 1c1d581 commit d5ddfae
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8977,10 +8977,9 @@ A [closing tag](@) consists of the string `</`, a
[tag name], optional spaces, tabs, and up to one line ending, and the character
`>`.

An [HTML comment](@) consists of `<!--` + *text* + `-->`,
where *text* does not start with `>` or `->`, does not end with `-`,
and does not contain `--`. (See the
[HTML5 spec](http://www.w3.org/TR/html5/syntax.html#comments).)
An [HTML comment](@) consists of `<!-->`, `<!--->`, or `<!--`, a string of
characters not including the string `-->`, and `-->` (see the
[HTML spec](https://html.spec.whatwg.org/multipage/parsing.html#markup-declaration-open-state)).

A [processing instruction](@)
consists of the string `<?`, a string
Expand Down

0 comments on commit d5ddfae

Please sign in to comment.