|
1 | 1 | [
|
2 | 2 | {
|
3 | 3 | "section": "Tables",
|
4 |
| - "html": "<table>\n<thead>\n<tr>\n<th>foo</th>\n<th>bar</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>baz</td>\n<td>bim</td>\n</tr></tbody></table>", |
| 4 | + "html": "<table>\n<thead>\n<tr>\n<th>foo</th>\n<th>bar</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>baz</td>\n<td>bim</td>\n</tr>\n</tbody>\n</table>", |
5 | 5 | "markdown": "| foo | bar |\n| --- | --- |\n| baz | bim |",
|
6 |
| - "example": 191 |
| 6 | + "example": "198" |
7 | 7 | },
|
8 | 8 | {
|
9 | 9 | "section": "Tables",
|
10 |
| - "html": "<table>\n<thead>\n<tr>\n<th align=\"center\">abc</th>\n<th align=\"right\">defghi</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td align=\"center\">bar</td>\n<td align=\"right\">baz</td>\n</tr></tbody></table>", |
| 10 | + "html": "<table>\n<thead>\n<tr>\n<th align=\"center\">abc</th>\n<th align=\"right\">defghi</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td align=\"center\">bar</td>\n<td align=\"right\">baz</td>\n</tr>\n</tbody>\n</table>", |
11 | 11 | "markdown": "| abc | defghi |\n:-: | -----------:\nbar | baz",
|
12 |
| - "example": 192 |
| 12 | + "example": "199" |
13 | 13 | },
|
14 | 14 | {
|
15 | 15 | "section": "Tables",
|
16 |
| - "html": "<table>\n<thead>\n<tr>\n<th>f|oo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>b <code>|</code> az</td>\n</tr>\n<tr>\n<td>b <strong>|</strong> im</td>\n</tr></tbody></table>", |
| 16 | + "html": "<table>\n<thead>\n<tr>\n<th>f|oo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>b <code>|</code> az</td>\n</tr>\n<tr>\n<td>b <strong>|</strong> im</td>\n</tr>\n</tbody>\n</table>", |
17 | 17 | "markdown": "| f\\|oo |\n| ------ |\n| b `\\|` az |\n| b **\\|** im |",
|
18 |
| - "example": 193 |
| 18 | + "example": "200" |
19 | 19 | },
|
20 | 20 | {
|
21 | 21 | "section": "Tables",
|
22 |
| - "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr></tbody></table>\n<blockquote>\n<p>bar</p>\n</blockquote>", |
| 22 | + "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr>\n</tbody>\n</table>\n<blockquote>\n<p>bar</p>\n</blockquote>", |
23 | 23 | "markdown": "| abc | def |\n| --- | --- |\n| bar | baz |\n> bar",
|
24 |
| - "example": 194 |
| 24 | + "example": "201" |
25 | 25 | },
|
26 | 26 | {
|
27 | 27 | "section": "Tables",
|
28 |
| - "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr>\n<tr>\n<td>bar</td>\n<td></td>\n</tr></tbody></table>\n<p>bar</p>", |
| 28 | + "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr>\n<tr>\n<td>bar</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n<p>bar</p>", |
29 | 29 | "markdown": "| abc | def |\n| --- | --- |\n| bar | baz |\nbar\n\nbar",
|
30 |
| - "example": 195 |
| 30 | + "example": "202" |
31 | 31 | },
|
32 | 32 | {
|
33 | 33 | "section": "Tables",
|
34 | 34 | "html": "<p>| abc | def |\n| --- |\n| bar |</p>",
|
35 | 35 | "markdown": "| abc | def |\n| --- |\n| bar |",
|
36 |
| - "example": 196 |
| 36 | + "example": "203" |
37 | 37 | },
|
38 | 38 | {
|
39 | 39 | "section": "Tables",
|
40 |
| - "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td></td>\n</tr>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr></tbody></table>", |
| 40 | + "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td></td>\n</tr>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr>\n</tbody>\n</table>", |
41 | 41 | "markdown": "| abc | def |\n| --- | --- |\n| bar |\n| bar | baz | boo |",
|
42 |
| - "example": 197 |
| 42 | + "example": "204" |
43 | 43 | },
|
44 | 44 | {
|
45 | 45 | "section": "Tables",
|
46 |
| - "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead></table>", |
| 46 | + "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n</table>", |
47 | 47 | "markdown": "| abc | def |\n| --- | --- |",
|
48 |
| - "example": 198 |
| 48 | + "example": "205" |
49 | 49 | },
|
50 | 50 | {
|
51 | 51 | "section": "Task list items",
|
52 | 52 | "html": "<ul>\n<li><input disabled=\"\" type=\"checkbox\"> foo</li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> bar</li>\n</ul>",
|
53 | 53 | "markdown": "- [ ] foo\n- [x] bar",
|
54 |
| - "example": 272 |
| 54 | + "example": "279" |
55 | 55 | },
|
56 | 56 | {
|
57 | 57 | "section": "Task list items",
|
58 | 58 | "html": "<ul>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> foo\n<ul>\n<li><input disabled=\"\" type=\"checkbox\"> bar</li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> baz</li>\n</ul>\n</li>\n<li><input disabled=\"\" type=\"checkbox\"> bim</li>\n</ul>",
|
59 | 59 | "markdown": "- [x] foo\n - [ ] bar\n - [x] baz\n- [ ] bim",
|
60 |
| - "example": 273 |
| 60 | + "example": "280" |
61 | 61 | },
|
62 | 62 | {
|
63 | 63 | "section": "Strikethrough",
|
64 | 64 | "html": "<p><del>Hi</del> Hello, world!</p>",
|
65 |
| - "markdown": "~Hi~ Hello, world!", |
66 |
| - "example": 469 |
67 |
| - }, |
68 |
| - { |
69 |
| - "section": "Strikethrough", |
70 |
| - "html": "<p>This <del>text</del> is <del>curious</del>.</p>", |
71 |
| - "markdown": "This ~text~~~~ is ~~~~curious~.", |
72 |
| - "example": 470 |
| 65 | + "markdown": "~~Hi~~ Hello, world!", |
| 66 | + "example": "491" |
73 | 67 | },
|
74 | 68 | {
|
75 | 69 | "section": "Strikethrough",
|
76 | 70 | "html": "<p>This ~~has a</p>\n<p>new paragraph~~.</p>",
|
77 | 71 | "markdown": "This ~~has a\n\nnew paragraph~~.",
|
78 |
| - "example": 471 |
| 72 | + "example": "492" |
79 | 73 | },
|
80 | 74 | {
|
81 | 75 | "section": "Autolinks",
|
82 | 76 | "html": "<p><a href=\"http://www.commonmark.org\">www.commonmark.org</a></p>",
|
83 | 77 | "markdown": "www.commonmark.org",
|
84 |
| - "example": 597 |
| 78 | + "example": "621" |
85 | 79 | },
|
86 | 80 | {
|
87 | 81 | "section": "Autolinks",
|
88 | 82 | "html": "<p>Visit <a href=\"http://www.commonmark.org/help\">www.commonmark.org/help</a> for more information.</p>",
|
89 | 83 | "markdown": "Visit www.commonmark.org/help for more information.",
|
90 |
| - "example": 598 |
| 84 | + "example": "622" |
91 | 85 | },
|
92 | 86 | {
|
93 | 87 | "section": "Autolinks",
|
94 | 88 | "html": "<p>Visit <a href=\"http://www.commonmark.org\">www.commonmark.org</a>.</p>\n<p>Visit <a href=\"http://www.commonmark.org/a.b\">www.commonmark.org/a.b</a>.</p>",
|
95 | 89 | "markdown": "Visit www.commonmark.org.\n\nVisit www.commonmark.org/a.b.",
|
96 |
| - "example": 599 |
| 90 | + "example": "623" |
97 | 91 | },
|
98 | 92 | {
|
99 | 93 | "section": "Autolinks",
|
100 | 94 | "html": "<p><a href=\"http://www.google.com/search?q=Markup+(business)\">www.google.com/search?q=Markup+(business)</a></p>\n<p>(<a href=\"http://www.google.com/search?q=Markup+(business)\">www.google.com/search?q=Markup+(business)</a>)</p>",
|
101 | 95 | "markdown": "www.google.com/search?q=Markup+(business)\n\n(www.google.com/search?q=Markup+(business))",
|
102 |
| - "example": 600 |
| 96 | + "example": "624" |
103 | 97 | },
|
104 | 98 | {
|
105 | 99 | "section": "Autolinks",
|
106 | 100 | "html": "<p><a href=\"http://www.google.com/search?q=(business))+ok\">www.google.com/search?q=(business))+ok</a></p>",
|
107 | 101 | "markdown": "www.google.com/search?q=(business))+ok",
|
108 |
| - "example": 601 |
| 102 | + "example": "625" |
109 | 103 | },
|
110 | 104 | {
|
111 | 105 | "section": "Autolinks",
|
112 | 106 | "html": "<p><a href=\"http://www.google.com/search?q=commonmark&hl=en\">www.google.com/search?q=commonmark&hl=en</a></p>\n<p><a href=\"http://www.google.com/search?q=commonmark\">www.google.com/search?q=commonmark</a>&hl;</p>",
|
113 | 107 | "markdown": "www.google.com/search?q=commonmark&hl=en\n\nwww.google.com/search?q=commonmark&hl;",
|
114 |
| - "example": 602 |
| 108 | + "example": "626" |
115 | 109 | },
|
116 | 110 | {
|
117 | 111 | "section": "Autolinks",
|
118 | 112 | "html": "<p><a href=\"http://www.commonmark.org/he\">www.commonmark.org/he</a><lp</p>",
|
119 | 113 | "markdown": "www.commonmark.org/he<lp",
|
120 |
| - "example": 603 |
| 114 | + "example": "627" |
121 | 115 | },
|
122 | 116 | {
|
123 | 117 | "section": "Autolinks",
|
124 | 118 | "html": "<p><a href=\"http://commonmark.org\">http://commonmark.org</a></p>\n<p>(Visit <a href=\"https://encrypted.google.com/search?q=Markup+(business)\">https://encrypted.google.com/search?q=Markup+(business)</a>)</p>\n<p>Anonymous FTP is available at <a href=\"ftp://foo.bar.baz\">ftp://foo.bar.baz</a>.</p>",
|
125 | 119 | "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.",
|
126 |
| - "example": 604 |
| 120 | + "example": "628" |
127 | 121 | },
|
128 | 122 | {
|
129 | 123 | "section": "Autolinks",
|
130 | 124 | "html": "<p><a href=\"mailto:[email protected]\">[email protected]</a></p>",
|
131 | 125 |
|
132 |
| - "example": 605 |
| 126 | + "example": "629" |
133 | 127 | },
|
134 | 128 | {
|
135 | 129 | "section": "Autolinks",
|
136 | 130 | "html": "<p>hello@mail+xyz.example isn't valid, but <a href=\"mailto:[email protected]\">[email protected]</a> is.</p>",
|
137 | 131 | "markdown": "hello@mail+xyz.example isn't valid, but [email protected] is.",
|
138 |
| - "example": 606 |
| 132 | + "example": "630" |
139 | 133 | },
|
140 | 134 | {
|
141 | 135 | "section": "Autolinks",
|
142 | 136 |
|
143 | 137 |
|
144 |
| - "example": 607 |
| 138 | + "example": "631" |
145 | 139 | },
|
146 | 140 | {
|
147 | 141 | "section": "Disallowed Raw HTML",
|
148 | 142 | "html": "<p><strong> <title> <style> <em></p>\n<blockquote>\n <xmp> is disallowed. <XMP> is also disallowed.\n</blockquote>",
|
149 | 143 | "markdown": "<strong> <title> <style> <em>\n\n<blockquote>\n <xmp> is disallowed. <XMP> is also disallowed.\n</blockquote>",
|
150 |
| - "example": 629, |
| 144 | + "example": "653", |
151 | 145 | "shouldFail": true
|
152 | 146 | }
|
153 | 147 | ]
|
0 commit comments