summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec.txt32
1 files changed, 30 insertions, 2 deletions
diff --git a/spec.txt b/spec.txt
index 791150d..d43f559 100644
--- a/spec.txt
+++ b/spec.txt
@@ -6473,8 +6473,8 @@ Backslash escapes do not work in HTML attributes:
## Hard line breaks
A line break (not in a code span or HTML tag) that is preceded
-by two or more spaces is parsed as a [hard line
-break](@hard-line-break) (rendered
+by two or more spaces and does not occur at the end of a block
+is parsed as a [hard line break](@hard-line-break) (rendered
in HTML as a `<br />` tag):
.
@@ -6577,6 +6577,34 @@ bar">
bar"></p>
.
+Hard line breaks are for separating inline content within a block.
+Neither syntax for hard line breaks works at the end of a paragraph or
+other block element:
+
+.
+foo\
+.
+<p>foo\</p>
+.
+
+.
+foo
+.
+<p>foo</p>
+.
+
+.
+### foo\
+.
+<h3>foo\</h3>
+.
+
+.
+### foo
+.
+<h3>foo</h3>
+.
+
## Soft line breaks
A regular line break (not in a code span or HTML tag) that is not