Browse files

Info string is trimmed of all whitespace (#505)

* Info string is trimmed of all whitespace

As noted in github/cmark-gfm#60, the info string is not
only trimmed of "spaces" (U+0020) but indeed all whitespace.  Update the spec to
reflect this.

* "spaces" => "spaces or tabs" after thematic breaks
  • Loading branch information...
kivikakk authored and jgm committed Nov 5, 2017
1 parent 5a16a91 commit e5921240cf2428c1ae3396c3c56de7778cfee634
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec.txt
@@ -527,7 +527,7 @@ Markdown document.
A line consisting of 0-3 spaces of indentation, followed by a sequence
of three or more matching `-`, `_`, or `*` characters, each followed
optionally by any number of spaces, forms a
optionally by any number of spaces or tabs, forms a
[thematic break](@).
```````````````````````````````` example
@@ -1584,7 +1584,7 @@ begins with a code fence, indented no more than three spaces.
The line with the opening code fence may optionally contain some text
following the code fence; this is trimmed of leading and trailing
spaces and called the [info string](@).
whitespace and called the [info string](@).
The [info string] may not contain any backtick
characters. (The reason for this restriction is that otherwise
some inline code would be incorrectly interpreted as the

0 comments on commit e592124

Please sign in to comment.