diff --git a/test/specs/gfm/gfm.0.28.json b/test/specs/gfm/gfm.0.29.json similarity index 85% rename from test/specs/gfm/gfm.0.28.json rename to test/specs/gfm/gfm.0.29.json index 75bffc64ce..28ffd8b97e 100644 --- a/test/specs/gfm/gfm.0.28.json +++ b/test/specs/gfm/gfm.0.29.json @@ -1,153 +1,147 @@ [ { "section": "Tables", - "html": "\n\n\n\n\n\n\n\n\n\n\n
foobar
bazbim
", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n\n
foobar
bazbim
", "markdown": "| foo | bar |\n| --- | --- |\n| baz | bim |", - "example": 191 + "example": "198" }, { "section": "Tables", - "html": "\n\n\n\n\n\n\n\n\n\n\n
abcdefghi
barbaz
", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n\n
abcdefghi
barbaz
", "markdown": "| abc | defghi |\n:-: | -----------:\nbar | baz", - "example": 192 + "example": "199" }, { "section": "Tables", - "html": "\n\n\n\n\n\n\n\n\n\n\n\n
f|oo
b | az
b | im
", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n
f|oo
b | az
b | im
", "markdown": "| f\\|oo |\n| ------ |\n| b `\\|` az |\n| b **\\|** im |", - "example": 193 + "example": "200" }, { "section": "Tables", - "html": "\n\n\n\n\n\n\n\n\n\n\n
abcdef
barbaz
\n
\n

bar

\n
", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n\n
abcdef
barbaz
\n
\n

bar

\n
", "markdown": "| abc | def |\n| --- | --- |\n| bar | baz |\n> bar", - "example": 194 + "example": "201" }, { "section": "Tables", - "html": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
abcdef
barbaz
bar
\n

bar

", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
abcdef
barbaz
bar
\n

bar

", "markdown": "| abc | def |\n| --- | --- |\n| bar | baz |\nbar\n\nbar", - "example": 195 + "example": "202" }, { "section": "Tables", "html": "

| abc | def |\n| --- |\n| bar |

", "markdown": "| abc | def |\n| --- |\n| bar |", - "example": 196 + "example": "203" }, { "section": "Tables", - "html": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
abcdef
bar
barbaz
", + "html": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
abcdef
bar
barbaz
", "markdown": "| abc | def |\n| --- | --- |\n| bar |\n| bar | baz | boo |", - "example": 197 + "example": "204" }, { "section": "Tables", - "html": "\n\n\n\n\n\n
abcdef
", + "html": "\n\n\n\n\n\n\n
abcdef
", "markdown": "| abc | def |\n| --- | --- |", - "example": 198 + "example": "205" }, { "section": "Task list items", "html": "", "markdown": "- [ ] foo\n- [x] bar", - "example": 272 + "example": "279" }, { "section": "Task list items", "html": "", "markdown": "- [x] foo\n - [ ] bar\n - [x] baz\n- [ ] bim", - "example": 273 + "example": "280" }, { "section": "Strikethrough", "html": "

Hi Hello, world!

", - "markdown": "~Hi~ Hello, world!", - "example": 469 - }, - { - "section": "Strikethrough", - "html": "

This text is curious.

", - "markdown": "This ~text~~~~ is ~~~~curious~.", - "example": 470 + "markdown": "~~Hi~~ Hello, world!", + "example": "491" }, { "section": "Strikethrough", "html": "

This ~~has a

\n

new paragraph~~.

", "markdown": "This ~~has a\n\nnew paragraph~~.", - "example": 471 + "example": "492" }, { "section": "Autolinks", "html": "

www.commonmark.org

", "markdown": "www.commonmark.org", - "example": 597 + "example": "621" }, { "section": "Autolinks", "html": "

Visit www.commonmark.org/help for more information.

", "markdown": "Visit www.commonmark.org/help for more information.", - "example": 598 + "example": "622" }, { "section": "Autolinks", "html": "

Visit www.commonmark.org.

\n

Visit www.commonmark.org/a.b.

", "markdown": "Visit www.commonmark.org.\n\nVisit www.commonmark.org/a.b.", - "example": 599 + "example": "623" }, { "section": "Autolinks", "html": "

www.google.com/search?q=Markup+(business)

\n

(www.google.com/search?q=Markup+(business))

", "markdown": "www.google.com/search?q=Markup+(business)\n\n(www.google.com/search?q=Markup+(business))", - "example": 600 + "example": "624" }, { "section": "Autolinks", "html": "

www.google.com/search?q=(business))+ok

", "markdown": "www.google.com/search?q=(business))+ok", - "example": 601 + "example": "625" }, { "section": "Autolinks", "html": "

www.google.com/search?q=commonmark&hl=en

\n

www.google.com/search?q=commonmark&hl;

", "markdown": "www.google.com/search?q=commonmark&hl=en\n\nwww.google.com/search?q=commonmark&hl;", - "example": 602 + "example": "626" }, { "section": "Autolinks", "html": "

www.commonmark.org/he<lp

", "markdown": "www.commonmark.org/hehttp://commonmark.org

\n

(Visit https://encrypted.google.com/search?q=Markup+(business))

\n

Anonymous FTP is available at ftp://foo.bar.baz.

", "markdown": "http://commonmark.org\n\n(Visit https://encrypted.google.com/search?q=Markup+(business))\n\nAnonymous FTP is available at ftp://foo.bar.baz.", - "example": 604 + "example": "628" }, { "section": "Autolinks", "html": "

foo@bar.baz

", "markdown": "foo@bar.baz", - "example": 605 + "example": "629" }, { "section": "Autolinks", "html": "

hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.

", "markdown": "hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.", - "example": 606 + "example": "630" }, { "section": "Autolinks", "html": "

a.b-c_d@a.b

\n

a.b-c_d@a.b.

\n

a.b-c_d@a.b-

\n

a.b-c_d@a.b_

", "markdown": "a.b-c_d@a.b\n\na.b-c_d@a.b.\n\na.b-c_d@a.b-\n\na.b-c_d@a.b_", - "example": 607 + "example": "631" }, { "section": "Disallowed Raw HTML", "html": "

<title> <style>

\n
\n <xmp> is disallowed. <XMP> is also disallowed.\n
", "markdown": " <style> <em>\n\n<blockquote>\n <xmp> is disallowed. <XMP> is also disallowed.\n</blockquote>", - "example": 629, + "example": "653", "shouldFail": true } ] diff --git a/test/specs/run-spec.js b/test/specs/run-spec.js index 56a3f70a49..3af0aa4565 100644 --- a/test/specs/run-spec.js +++ b/test/specs/run-spec.js @@ -48,5 +48,5 @@ function runSpecs(title, file, options) { }); }; -runSpecs('GFM 0.28', './gfm/gfm.0.28.json', {gfm: true}); +runSpecs('GFM 0.29', './gfm/gfm.0.29.json', {gfm: true}); runSpecs('CommonMark 0.29', './commonmark/commonmark.0.29.json', {headerIds: false});