From 1dbbc4d3245d0494e0db4ae2cc3530ae08e4b8a4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 3 Mar 2015 22:22:52 -0800 Subject: Updated spec in test. --- test/spec.txt | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'test/spec.txt') diff --git a/test/spec.txt b/test/spec.txt index 500f4ea..ac47b1a 100644 --- a/test/spec.txt +++ b/test/spec.txt @@ -1,8 +1,8 @@ --- title: CommonMark Spec author: John MacFarlane -version: 0.17 -date: 2015-01-24 +version: 0.18 +date: 2015-03-03 license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)' ... @@ -3591,7 +3591,7 @@ of an [ordered list] is determined by the list number of its initial list item. The numbers of subsequent list items are disregarded. -A list is [loose](@loose) if it any of its constituent +A list is [loose](@loose) if any of its constituent list items are separated by blank lines, or if any of its constituent list items directly contain two block-level elements with a blank line between them. Otherwise a list is [tight](@tight). @@ -4581,12 +4581,14 @@ characters that is not preceded or followed by a `_` character. A [left-flanking delimiter run](@left-flanking-delimiter-run) is a [delimiter run] that is (a) not followed by [unicode whitespace], and (b) either not followed by a [punctuation character], or -preceded by [unicode whitespace] or a [punctuation character]. +preceded by [unicode whitespace] or a [punctuation character] or +the beginning of a line. A [right-flanking delimiter run](@right-flanking-delimiter-run) is a [delimiter run] that is (a) not preceded by [unicode whitespace], and (b) either not preceded by a [punctuation character], or -followed by [unicode whitespace] or a [punctuation character]. +followed by [unicode whitespace] or a [punctuation character] or +the end of a line. Here are some examples of delimiter runs. @@ -5654,15 +5656,15 @@ _a `_`_ . . -**a +**a . -

**ahttp://foo.bar?q=**

+

**ahttp://foo.bar/?q=**

. . -__a +__a . -

__ahttp://foo.bar?q=__

+

__ahttp://foo.bar/?q=__

. @@ -6025,9 +6027,9 @@ and autolinks over link grouping: . . -[foo +[foo . -

[foohttp://example.com?search=](uri)

+

[foohttp://example.com/?search=](uri)

. There are three kinds of [reference link](@reference-link)s: @@ -6165,11 +6167,11 @@ and autolinks over link grouping: . . -[foo +[foo [ref]: /uri . -

[foohttp://example.com?search=][ref]

+

[foohttp://example.com/?search=][ref]

. Matching is case-insensitive: @@ -6720,9 +6722,9 @@ Here are some valid autolinks: . . - + . -

http://foo.bar.baz?q=hello&id=22&boolean

+

http://foo.bar.baz/test?q=hello&id=22&boolean

. . -- cgit v1.2.3