Skip to content

Commit

Permalink
move marked.json to /new files
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Mar 12, 2019
1 parent b9d99af commit 973b000
Show file tree
Hide file tree
Showing 14 changed files with 143 additions and 270 deletions.
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:hello@email.com">hello@email.com</a></del></p>

<p><strong><a href="mailto:me@example.com">me@example.com</a></strong></p>

<p><strong><a href="mailto:test@test.com">test@test.com</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

~~hello@email.com~~

**me@example.com**

__test@test.com__
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>someone@example.com</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 @@
`someone@example.com`

``*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

0 comments on commit 973b000

Please sign in to comment.