aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/spec.txt b/spec.txt
index e882df4..c356348 100644
--- a/spec.txt
+++ b/spec.txt
@@ -5758,7 +5758,8 @@ following ways:
- First, [line endings] are converted to [spaces].
- If the resulting string both begins *and* ends with a [space]
- character, a single [space] character is removed from the
+ character, but does not consist entirely of [space]
+ characters, a single [space] character is removed from the
front and back. This allows you to include code that begins
or ends with backtick characters, which must be separated by
whitespace from the opening or closing backtick strings.
@@ -5818,6 +5819,16 @@ stripped in this way:
<p><code> b </code></p>
````````````````````````````````
+No stripping occurs if the code span contains only spaces:
+
+```````````````````````````````` example
+` `
+` `
+.
+<p><code> </code>
+<code> </code></p>
+````````````````````````````````
+
[Line endings] are treated like spaces: