@@ -328,8 +328,10 @@ that is not a [whitespace character].
328
328
329
329
An [ASCII punctuation character](@)
330
330
is `!`, `"`, `#`, `$`, `%`, `&`, `'`, `(`, `)`,
331
- `*`, `+`, `,`, `-`, `.`, `/`, `:`, `;`, `<`, `=`, `>`, `?`, `@`,
332
- `[`, `\`, `]`, `^`, `_`, `` ` ``, `{`, `|`, `}`, or `~`.
331
+ `*`, `+`, `,`, `-`, `.`, `/` (U+0021–2F),
332
+ `:`, `;`, `<`, `=`, `>`, `?`, `@` (U+003A–0040),
333
+ `[`, `\`, `]`, `^`, `_`, `` ` `` (U+005B–0060),
334
+ `{`, `|`, `}`, or `~` (U+007B–007E).
333
335
334
336
A [punctuation character](@) is an [ASCII
335
337
punctuation character] or anything in
@@ -2005,15 +2007,15 @@ Closing code fences cannot have [info strings]:
2005
2007
An [HTML block](@) is a group of lines that is treated
2006
2008
as raw HTML (and will not be escaped in HTML output).
2007
2009
2008
- There are seven kinds of [HTML block], which can be defined
2009
- by their start and end conditions. The block begins with a line that
2010
- meets a [start condition](@) (after up to three spaces
2011
- optional indentation). It ends with the first subsequent line that
2012
- meets a matching [end condition](@), or the last line of
2013
- the document or other [container block](#container-blocks)), if no
2014
- line is encountered that meets the [end condition]. If the first line
2015
- meets both the [start condition] and the [end condition], the block
2016
- will contain just that line.
2010
+ There are seven kinds of [HTML block], which can be defined by their
2011
+ start and end conditions. The block begins with a line that meets a
2012
+ [start condition](@) (after up to three spaces optional indentation).
2013
+ It ends with the first subsequent line that meets a matching [end
2014
+ condition](@), or the last line of the document , or the last line of
2015
+ the [container block](#container-blocks) containing the current HTML
2016
+ block, if no line is encountered that meets the [end condition]. If
2017
+ the first line meets both the [start condition] and the [end
2018
+ condition], the block will contain just that line.
2017
2019
2018
2020
1. **Start condition:** line begins with the string `<script`,
2019
2021
`<pre`, or `<style` (case-insensitive), followed by whitespace,
@@ -2052,9 +2054,9 @@ the string `/>`.\
2052
2054
**End condition:** line is followed by a [blank line].
2053
2055
2054
2056
7. **Start condition:** line begins with a complete [open tag]
2055
- or [closing tag] (with any [tag name] other than `script`,
2056
- `style`, or `pre`) followed only by [whitespace]
2057
- or the end of the line.\
2057
+ (with any [tag name] other than `script`,
2058
+ `style`, or `pre`) or a complete [closing tag],
2059
+ followed only by [whitespace] or the end of the line.\
2058
2060
**End condition:** line is followed by a [blank line].
2059
2061
2060
2062
HTML blocks continue until they are closed by their appropriate
@@ -9546,7 +9548,7 @@ closers:
9546
9548
of the delimiter stack. If the closing node is removed, reset
9547
9549
`current_position` to the next element in the stack.
9548
9550
9549
- - If none in found:
9551
+ - If none is found:
9550
9552
9551
9553
+ Set `openers_bottom` to the element before `current_position`.
9552
9554
(We know that there are no openers for this kind of closer up to and
0 commit comments