diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-09 18:21:52 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-09 18:21:52 -0800 |
commit | 9a9a15312c443e4a4744023c196d57fbe40f8a05 (patch) | |
tree | 80903f4c6d63557e722047a49e597b89163411ac /spec.txt | |
parent | 5e9db2581e94efb497b9e5a22ce4ff98f9fd7de7 (diff) |
Added clarification that hard breaks don't work at ends of blocks.
Closes #191.
Diffstat (limited to 'spec.txt')
-rw-r--r-- | spec.txt | 32 |
1 files changed, 30 insertions, 2 deletions
@@ -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 |