aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt31
1 files changed, 23 insertions, 8 deletions
diff --git a/spec.txt b/spec.txt
index d4436f0..ba59012 100644
--- a/spec.txt
+++ b/spec.txt
@@ -3621,10 +3621,7 @@ An [ordered list marker](@)
is a sequence of 1--9 arabic digits (`0-9`), followed by either a
`.` character or a `)` character. (The reason for the length
limit is that with 10 digits we start seeing integer overflows
-in some browsers.) Exception: In cases where ordered list markers
-interrupt paragraphs---that is, when they occur on a line
-that would otherwise count as [paragraph continuation
-text]---only `1.` and `1)` are allowed.
+in some browsers.)
The following rules define [list items]:
@@ -3639,6 +3636,12 @@ The following rules define [list items]:
If the list item is ordered, then it is also assigned a start
number, based on the ordered list marker.
+ Exceptions: When the list item interrupts a paragraph---that
+ is, when it starts on a line that would otherwise count as
+ [paragraph continuation text]---then (a) the lines *Ls* must
+ not begin with a blank line, and (b) if the list item is
+ ordered, the start number must be 1.
+
For example, let *Ls* be the lines
```````````````````````````````` example
@@ -4207,6 +4210,20 @@ A list may start or end with an empty list item:
</ul>
````````````````````````````````
+However, an empty list item cannot interrupt a paragraph:
+
+```````````````````````````````` example
+foo
+*
+
+foo
+1.
+.
+<p>foo
+*</p>
+<p>foo
+1.</p>
+````````````````````````````````
4. **Indentation.** If a sequence of lines *Ls* constitutes a list item
@@ -6122,10 +6139,8 @@ A newline also counts as whitespace:
*foo bar
*
.
-<p>*foo bar</p>
-<ul>
-<li></li>
-</ul>
+<p>*foo bar
+*</p>
````````````````````````````````