Skip to content

Commit 973b000

Browse files
committed
move marked.json to /new files
1 parent b9d99af commit 973b000

14 files changed

+143
-270
lines changed

test/new/autolinks.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<p>(See <a href="https://www.example.com/fhqwhgads">https://www.example.com/fhqwhgads</a>.)</p>
2+
3+
<p>((<a href="http://foo.com">http://foo.com</a>))</p>
4+
5+
<p>((<a href="http://foo.com">http://foo.com</a>.))</p>
6+
7+
<p><a href="HTTP://FOO.COM">HTTP://FOO.COM</a></p>
8+
9+
<p><a href="hTtP://fOo.CoM">hTtP://fOo.CoM</a></p>
10+
11+
<p><del><a href="mailto:[email protected]">[email protected]</a></del></p>
12+
13+
<p><strong><a href="mailto:[email protected]">[email protected]</a></strong></p>
14+
15+
<p><strong><a href="mailto:[email protected]">[email protected]</a></strong></p>

test/new/autolinks.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
(See https://www.example.com/fhqwhgads.)
2+
3+
((http://foo.com))
4+
5+
((http://foo.com.))
6+
7+
HTTP://FOO.COM
8+
9+
hTtP://fOo.CoM
10+
11+
12+
13+
14+
15+

test/new/code_spans.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<p><code>[email protected]</code></p>
2+
3+
<p>``<em>test`</em></p>

test/new/code_spans.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
3+
``*test`*

test/new/emphasis_extra tests.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p><em>test</em>. <em>test</em>: <em>test</em>! <em>test</em>? <em>test</em>-</p>

test/new/emphasis_extra tests.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_test_. _test_: _test_! _test_? _test_-

test/new/links.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<p>URL</p>
2-
<p>URL</p>
3-
<p>URL</p>
4-
<p>URL</p>
5-
<p>URL</p>
1+
<p>Link: <a href="https://example.org/">constructor</a>.</p>
2+
3+
<p><a href=\"https://example.com/1\">One</a> (<a href=\"https://example.com/2\">Two</a>) <a href=\"https://example.com/3\">Three</a></p>

test/new/links.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
---
2-
sanitize: true
3-
---
4-
[URL](javascript:alert)
1+
Link: [constructor][].
52

6-
[URL](vbscript:alert)
3+
[One](https://example.com/1) ([Two](https://example.com/2)) [Three](https://example.com/3)
74

8-
[URL](javascript&colon;alert&#40;1&#41;)
9-
10-
[URL](javascript&#58document;alert&#40;1&#41;)
11-
12-
[URL](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
5+
[constructor]: https://example.org

test/new/sanitize_links.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<p>URL</p>
2+
<p>URL</p>
3+
<p>URL</p>
4+
<p>URL</p>
5+
<p>URL</p>

test/new/sanitize_links.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
sanitize: true
3+
---
4+
[URL](javascript:alert)
5+
6+
[URL](vbscript:alert)
7+
8+
[URL](javascript&colon;alert&#40;1&#41;)
9+
10+
[URL](javascript&#58document;alert&#40;1&#41;)
11+
12+
[URL](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)

test/new/table_cells.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table>
2+
3+
<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>|</td></tr></tbody></table>
4+
5+
<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>1\1</td></tr></tbody></table>
6+
7+
<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>\\</td></tr></tbody></table>
8+
9+
<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>\\|</td></tr></tbody></table>
10+
11+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>
12+
13+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1|\</td><td>2|\</td></tr></tbody></table>
14+
15+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>
16+
17+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1|\\</td><td>2|\\</td></tr></tbody></table>
18+
19+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>
20+
21+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>
22+
23+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>
24+
25+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>
26+
27+
<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>

test/new/table_cells.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
|1|
2+
|-|
3+
|1|
4+
5+
|1|
6+
|-|
7+
|\||
8+
9+
|1|
10+
|-|
11+
|1\\1|
12+
13+
|1|
14+
|-|
15+
|\\\\||
16+
17+
|1|
18+
|-|
19+
|\\\\\||
20+
21+
|1|2|
22+
|-|-|
23+
||2|
24+
25+
|1|2|
26+
|-|-|
27+
|1\|\\|2\|\\|
28+
29+
|1|2|
30+
|-|-|
31+
| |2|
32+
33+
1|2
34+
-|-
35+
1\|\\|2\|\\
36+
37+
1|2
38+
-|-
39+
|2
40+
41+
1|2
42+
-|-
43+
1|2\|
44+
45+
1|2
46+
-|-
47+
1|2\|
48+
49+
|1|2|
50+
|-|-|
51+
|1|2\||
52+
53+
|1|2|
54+
|-|-|
55+
|1|2\||

test/specs/marked/marked-spec.js

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)