Skip to content

Commit 41c6d27

Browse files
committed
Update test/spec.txt
1 parent 6609906 commit 41c6d27

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

test/spec.txt

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,10 @@ that is not a [whitespace character].
328328

329329
An [ASCII punctuation character](@)
330330
is `!`, `"`, `#`, `$`, `%`, `&`, `'`, `(`, `)`,
331-
`*`, `+`, `,`, `-`, `.`, `/`, `:`, `;`, `<`, `=`, `>`, `?`, `@`,
332-
`[`, `\`, `]`, `^`, `_`, `` ` ``, `{`, `|`, `}`, or `~`.
331+
`*`, `+`, `,`, `-`, `.`, `/` (U+0021–2F),
332+
`:`, `;`, `<`, `=`, `>`, `?`, `@` (U+003A–0040),
333+
`[`, `\`, `]`, `^`, `_`, `` ` `` (U+005B–0060),
334+
`{`, `|`, `}`, or `~` (U+007B–007E).
333335

334336
A [punctuation character](@) is an [ASCII
335337
punctuation character] or anything in
@@ -2005,15 +2007,15 @@ Closing code fences cannot have [info strings]:
20052007
An [HTML block](@) is a group of lines that is treated
20062008
as raw HTML (and will not be escaped in HTML output).
20072009

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.
20172019

20182020
1. **Start condition:** line begins with the string `<script`,
20192021
`<pre`, or `<style` (case-insensitive), followed by whitespace,
@@ -2052,9 +2054,9 @@ the string `/>`.\
20522054
**End condition:** line is followed by a [blank line].
20532055

20542056
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.\
20582060
**End condition:** line is followed by a [blank line].
20592061

20602062
HTML blocks continue until they are closed by their appropriate
@@ -9546,7 +9548,7 @@ closers:
95469548
of the delimiter stack. If the closing node is removed, reset
95479549
`current_position` to the next element in the stack.
95489550

9549-
- If none in found:
9551+
- If none is found:
95509552

95519553
+ Set `openers_bottom` to the element before `current_position`.
95529554
(We know that there are no openers for this kind of closer up to and

0 commit comments

Comments
 (0)