summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec.txt25
1 files changed, 14 insertions, 11 deletions
diff --git a/spec.txt b/spec.txt
index a975935..569ada8 100644
--- a/spec.txt
+++ b/spec.txt
@@ -1038,11 +1038,12 @@ spaces, all of the indentation is removed.)
The closing code fence may be indented up to three spaces, and may be
followed only by spaces, which are ignored. If the end of the
-document is reached and no closing code fence has been found, the code
-block contains all of the lines after the opening code fence.
-(An alternative spec would require backtracking in the event
-that a closing code fence is not found. But this makes parsing much
-less efficient, and there seems to be no real down side to the
+containing block (or document) is reached and no closing code fence
+has been found, the code block contains all of the lines after the
+opening code fence until the end of the containing block (or
+document). (An alternative spec would require backtracking in the
+event that a closing code fence is not found. But this makes parsing
+much less efficient, and there seems to be no real down side to the
behavior described here.)
A fenced code block may interrupt a paragraph, and does not require
@@ -2484,7 +2485,7 @@ blocks must be indented at least to the column of the first nonspace
character after the list marker. However, that is not quite right.
The spaces after the list marker determine how much relative indentation
is needed. Which column this indentation reaches will depend on
-how the list item is embedded in other constructions, as show by
+how the list item is embedded in other constructions, as shown by
this example:
.
@@ -3089,9 +3090,11 @@ as the four-space rule demands, rather than a single list,
``` html
<ul>
-<li><p>foo<p>
-<p>bar></p></li>
-<li><p>baz</p><li>
+<li><p>foo</p>
+<p>bar</p>
+<ul>
+<li>baz</li>
+</ul></li>
</ul>
```
@@ -3731,7 +3734,7 @@ except code spans and code blocks. Three kinds of entities are recognized.
.
[Decimal entities](#decimal-entities) <a id="decimal-entities"/>
-consist of `&` + a string of 1--8 arabic digits + `;`.
+consist of `&#` + a string of 1--8 arabic digits + `;`.
.
&#1; &#35; &#1234; &#992; &#98765432;
@@ -3740,7 +3743,7 @@ consist of `&` + a string of 1--8 arabic digits + `;`.
.
[Hexadecimal entities](#hexadecimal-entities) <a id="hexadecimal-entities"/>
-consist of `&` + either `X` or `x` + a string of 1-8 hexadecimal digits
+consist of `&#` + either `X` or `x` + a string of 1-8 hexadecimal digits
+ `;`.
.