Skip to content

Commit 0fc7c24

Browse files
committed
Update spec.txt from repository.
1 parent a5c83d7 commit 0fc7c24

File tree

1 file changed

+56
-13
lines changed

1 file changed

+56
-13
lines changed

test/spec.txt

Lines changed: 56 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ Markdown document.
527527

528528
A line consisting of 0-3 spaces of indentation, followed by a sequence
529529
of three or more matching `-`, `_`, or `*` characters, each followed
530-
optionally by any number of spaces, forms a
530+
optionally by any number of spaces or tabs, forms a
531531
[thematic break](@).
532532

533533
```````````````````````````````` example
@@ -1584,7 +1584,7 @@ begins with a code fence, indented no more than three spaces.
15841584

15851585
The line with the opening code fence may optionally contain some text
15861586
following the code fence; this is trimmed of leading and trailing
1587-
spaces and called the [info string](@).
1587+
whitespace and called the [info string](@).
15881588
The [info string] may not contain any backtick
15891589
characters. (The reason for this restriction is that otherwise
15901590
some inline code would be incorrectly interpreted as the
@@ -2069,7 +2069,7 @@ _world_.
20692069
</td></tr></table>
20702070
````````````````````````````````
20712071

2072-
In this case, the HTML block is terminated by the newline — the `**hello**`
2072+
In this case, the HTML block is terminated by the newline — the `**Hello**`
20732073
text remains verbatim — and regular parsing resumes, with a paragraph,
20742074
emphasised `world` and inline and block HTML following.
20752075

@@ -5049,11 +5049,9 @@ item:
50495049
- b
50505050
- c
50515051
- d
5052-
- e
5053-
- f
5054-
- g
5055-
- h
5056-
- i
5052+
- e
5053+
- f
5054+
- g
50575055
.
50585056
<ul>
50595057
<li>a</li>
@@ -5063,8 +5061,6 @@ item:
50635061
<li>e</li>
50645062
<li>f</li>
50655063
<li>g</li>
5066-
<li>h</li>
5067-
<li>i</li>
50685064
</ul>
50695065
````````````````````````````````
50705066

@@ -5074,7 +5070,7 @@ item:
50745070

50755071
2. b
50765072

5077-
3. c
5073+
3. c
50785074
.
50795075
<ol>
50805076
<li>
@@ -5089,6 +5085,49 @@ item:
50895085
</ol>
50905086
````````````````````````````````
50915087

5088+
Note, however, that list items may not be indented more than
5089+
three spaces. Here `- e` is treated as a paragraph continuation
5090+
line, because it is indented more than three spaces:
5091+
5092+
```````````````````````````````` example
5093+
- a
5094+
- b
5095+
- c
5096+
- d
5097+
- e
5098+
.
5099+
<ul>
5100+
<li>a</li>
5101+
<li>b</li>
5102+
<li>c</li>
5103+
<li>d
5104+
- e</li>
5105+
</ul>
5106+
````````````````````````````````
5107+
5108+
And here, `3. c` is treated as in indented code block,
5109+
because it is indented four spaces and preceded by a
5110+
blank line.
5111+
5112+
```````````````````````````````` example
5113+
1. a
5114+
5115+
2. b
5116+
5117+
3. c
5118+
.
5119+
<ol>
5120+
<li>
5121+
<p>a</p>
5122+
</li>
5123+
<li>
5124+
<p>b</p>
5125+
</li>
5126+
</ol>
5127+
<pre><code>3. c
5128+
</code></pre>
5129+
````````````````````````````````
5130+
50925131

50935132
This is a loose list, because there is a blank line between
50945133
two of the list items:
@@ -8624,7 +8663,7 @@ a [single-quoted attribute value], or a [double-quoted attribute value].
86248663

86258664
An [unquoted attribute value](@)
86268665
is a nonempty string of characters not
8627-
including spaces, `"`, `'`, `=`, `<`, `>`, or `` ` ``.
8666+
including [whitespace], `"`, `'`, `=`, `<`, `>`, or `` ` ``.
86288667

86298668
A [single-quoted attribute value](@)
86308669
consists of `'`, zero or more
@@ -8745,9 +8784,13 @@ Illegal [whitespace]:
87458784
```````````````````````````````` example
87468785
< a><
87478786
foo><bar/ >
8787+
<foo bar=baz
8788+
bim!bop />
87488789
.
87498790
<p>&lt; a&gt;&lt;
8750-
foo&gt;&lt;bar/ &gt;</p>
8791+
foo&gt;&lt;bar/ &gt;
8792+
&lt;foo bar=baz
8793+
bim!bop /&gt;</p>
87518794
````````````````````````````````
87528795

87538796

0 commit comments

Comments
 (0)