From 9a9a15312c443e4a4744023c196d57fbe40f8a05 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 9 Nov 2014 18:21:52 -0800 Subject: Added clarification that hard breaks don't work at ends of blocks. Closes #191. --- spec.txt | 32 ++++++++++++++++++++++++++++++-- 1 file 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 `
` tag): . @@ -6577,6 +6577,34 @@ bar"> bar">

. +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\ +. +

foo\

+. + +. +foo +. +

foo

+. + +. +### foo\ +. +

foo\

+. + +. +### foo +. +

foo

+. + ## Soft line breaks A regular line break (not in a code span or HTML tag) that is not -- cgit v1.2.3