Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move marked.json to /new files
  • Loading branch information
UziTech committed Mar 12, 2019
commit 973b00060106122f14118b00a52464dc9446ca4c
15 changes: 15 additions & 0 deletions test/new/autolinks.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<p>(See <a href="https://www.example.com/fhqwhgads">https://www.example.com/fhqwhgads</a>.)</p>

<p>((<a href="http://foo.com">http://foo.com</a>))</p>

<p>((<a href="http://foo.com">http://foo.com</a>.))</p>

<p><a href="HTTP://FOO.COM">HTTP://FOO.COM</a></p>

<p><a href="hTtP://fOo.CoM">hTtP://fOo.CoM</a></p>

<p><del><a href="mailto:[email protected]">[email protected]</a></del></p>

<p><strong><a href="mailto:[email protected]">[email protected]</a></strong></p>

<p><strong><a href="mailto:[email protected]">[email protected]</a></strong></p>
15 changes: 15 additions & 0 deletions test/new/autolinks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
(See https://www.example.com/fhqwhgads.)

((http://foo.com))

((http://foo.com.))

HTTP://FOO.COM

hTtP://fOo.CoM

[email protected]~~

**[email protected]**

[email protected]__
3 changes: 3 additions & 0 deletions test/new/code_spans.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p><code>[email protected]</code></p>

<p>``<em>test`</em></p>
3 changes: 3 additions & 0 deletions test/new/code_spans.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
`[email protected]`

``*test`*
1 change: 1 addition & 0 deletions test/new/emphasis_extra tests.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p><em>test</em>. <em>test</em>: <em>test</em>! <em>test</em>? <em>test</em>-</p>
1 change: 1 addition & 0 deletions test/new/emphasis_extra tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_test_. _test_: _test_! _test_? _test_-
8 changes: 3 additions & 5 deletions test/new/links.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<p>URL</p>
<p>URL</p>
<p>URL</p>
<p>URL</p>
<p>URL</p>
<p>Link: <a href="https://example.org/">constructor</a>.</p>

<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>
13 changes: 3 additions & 10 deletions test/new/links.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
---
sanitize: true
---
[URL](javascript:alert)
Link: [constructor][].

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

[URL](javascript&colon;alert&#40;1&#41;)

[URL](javascript&#58document;alert&#40;1&#41;)

[URL](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
[constructor]: https://example.org
5 changes: 5 additions & 0 deletions test/new/sanitize_links.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<p>URL</p>
<p>URL</p>
<p>URL</p>
<p>URL</p>
<p>URL</p>
12 changes: 12 additions & 0 deletions test/new/sanitize_links.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sanitize: true
---
[URL](javascript:alert)

[URL](vbscript:alert)

[URL](javascript&colon;alert&#40;1&#41;)

[URL](javascript&#58document;alert&#40;1&#41;)

[URL](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
27 changes: 27 additions & 0 deletions test/new/table_cells.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table>

<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>|</td></tr></tbody></table>

<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>1\1</td></tr></tbody></table>

<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>\\</td></tr></tbody></table>

<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>\\|</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1|\</td><td>2|\</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1|\\</td><td>2|\\</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>

<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>
55 changes: 55 additions & 0 deletions test/new/table_cells.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
|1|
|-|
|1|

|1|
|-|
|\||

|1|
|-|
|1\\1|

|1|
|-|
|\\\\||

|1|
|-|
|\\\\\||

|1|2|
|-|-|
||2|

|1|2|
|-|-|
|1\|\\|2\|\\|

|1|2|
|-|-|
| |2|

1|2
-|-
1\|\\|2\|\\

1|2
-|-
|2

1|2
-|-
1|2\|

1|2
-|-
1|2\|

|1|2|
|-|-|
|1|2\||

|1|2|
|-|-|
|1|2\||
103 changes: 0 additions & 103 deletions test/specs/marked/marked-spec.js

This file was deleted.

Loading