Skip to content

Commit

Permalink
Update syntax document to mention that unquoted HTML attr values are …
Browse files Browse the repository at this point in the history
…allowed
  • Loading branch information
gettalong committed Jun 10, 2018
1 parent acf3f48 commit 790e251
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/syntax.page
Original file line number Diff line number Diff line change
Expand Up @@ -1023,9 +1023,9 @@ content is parsed:
this one tag (see below).

Note that the parser basically supports only correct XHTML! However, there are some exceptions.
For example, attributes without values (i.e. boolean attributes) are also supported and elements
without content like `<hr />` can be written as `<hr>`. If an invalid closing tag is found, it is
ignored.
For example, attributes without values (i.e. boolean attributes) as well as unquoted attribute
values are also supported and elements without content like `<hr />` can be written as `<hr>`. If
an invalid closing tag is found, it is ignored.

* Parse as block-level elements: If the HTML/XML tag content should be parsed as text containing
block-level elements, the remaining text on the line will be parsed by the block-level parser as
Expand Down

0 comments on commit 790e251

Please sign in to comment.