Alex Kocharin
10 years ago
committed by
Vitaly Puzrin
13 changed files with 314 additions and 0 deletions
@ -0,0 +1,32 @@ |
|||
<div class="this is an html block"> |
|||
|
|||
blah blah |
|||
|
|||
</div> |
|||
|
|||
<table> |
|||
<tr> |
|||
<td> |
|||
**test** |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
|
|||
<table> |
|||
|
|||
<tr> |
|||
|
|||
<td> |
|||
|
|||
test |
|||
|
|||
</td> |
|||
|
|||
</tr> |
|||
|
|||
</table> |
|||
|
|||
<![CDATA[ |
|||
[[[[[[[[[[[... *cdata section - this should not be parsed* ...]]]]]]]]]]] |
|||
]]> |
|||
|
@ -0,0 +1,67 @@ |
|||
- tidy |
|||
- bullet |
|||
- list |
|||
|
|||
|
|||
- loose |
|||
|
|||
- bullet |
|||
|
|||
- list |
|||
|
|||
|
|||
0. ordered |
|||
1. list |
|||
2. example |
|||
|
|||
|
|||
- |
|||
- |
|||
- |
|||
- |
|||
|
|||
|
|||
1. |
|||
2. |
|||
3. |
|||
|
|||
|
|||
- an example |
|||
of a list item |
|||
with a continuation |
|||
|
|||
this part is inside the list |
|||
|
|||
this part is just a paragraph |
|||
|
|||
|
|||
1. test |
|||
- test |
|||
1. test |
|||
- test |
|||
|
|||
|
|||
111111111111111111111111111111111111111111. is this a valid bullet? |
|||
|
|||
- _________________________ |
|||
|
|||
- this |
|||
- is |
|||
|
|||
a |
|||
|
|||
long |
|||
- loose |
|||
- list |
|||
|
|||
- with |
|||
- some |
|||
|
|||
tidy |
|||
|
|||
- list |
|||
- items |
|||
- in |
|||
|
|||
- between |
|||
- _________________________ |
@ -0,0 +1,36 @@ |
|||
|
|||
- this |
|||
- is |
|||
- a |
|||
- deeply |
|||
- nested |
|||
- bullet |
|||
- list |
|||
|
|||
|
|||
1. this |
|||
2. is |
|||
3. a |
|||
4. deeply |
|||
5. nested |
|||
6. unordered |
|||
7. list |
|||
|
|||
|
|||
- 1 |
|||
- 2 |
|||
- 3 |
|||
- 4 |
|||
- 5 |
|||
- 6 |
|||
- 7 |
|||
- 6 |
|||
- 5 |
|||
- 4 |
|||
- 3 |
|||
- 2 |
|||
- 1 |
|||
|
|||
|
|||
- - - - - - - - - deeply-nested one-element item |
|||
|
@ -0,0 +1,15 @@ |
|||
[1] [2] [3] [1] [2] [3] |
|||
|
|||
[looooooooooooooooooooooooooooooooooooooooooooooooooong label] |
|||
|
|||
[1]: <http://something.example.com/foo/bar> |
|||
[2]: http://something.example.com/foo/bar 'test' |
|||
[3]: |
|||
http://foo/bar |
|||
[ looooooooooooooooooooooooooooooooooooooooooooooooooong label ]: |
|||
111 |
|||
'test' |
|||
[[[[[[[[[[[[[[[[[[[[ this should not slow down anything ]]]]]]]]]]]]]]]]]]]]: q |
|||
(as long as it is not referenced anywhere) |
|||
|
|||
[[[[[[[[[[[[[[[[[[[[]: this is not a valid reference |
@ -0,0 +1,17 @@ |
|||
[[[[[[[foo]]]]]]] |
|||
|
|||
[[[[[[[foo]]]]]]]: bar |
|||
[[[[[[foo]]]]]]: bar |
|||
[[[[[foo]]]]]: bar |
|||
[[[[foo]]]]: bar |
|||
[[[foo]]]: bar |
|||
[[foo]]: bar |
|||
[foo]: bar |
|||
|
|||
[*[*[*[*[foo]*]*]*]*] |
|||
|
|||
[*[*[*[*[foo]*]*]*]*]: bar |
|||
[*[*[*[foo]*]*]*]: bar |
|||
[*[*[foo]*]*]: bar |
|||
[*[foo]*]: bar |
|||
[foo]: bar |
@ -0,0 +1,14 @@ |
|||
closed (valid) autolinks: |
|||
|
|||
<ftp://1.2.3.4:21/path/foo> |
|||
<http://foo.bar.baz?q=hello&id=22&boolean> |
|||
<http://veeeeeeeeeeeeeeeeeeery.loooooooooooooooooooooooooooooooong.autolink/> |
|||
<teeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeest@gmail.com> |
|||
|
|||
these are not autolinks: |
|||
|
|||
<ftp://1.2.3.4:21/path/foo |
|||
<http://foo.bar.baz?q=hello&id=22&boolean |
|||
<http://veeeeeeeeeeeeeeeeeeery.loooooooooooooooooooooooooooooooong.autolink |
|||
<teeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeest@gmail.com |
|||
< http://foo.bar.baz?q=hello&id=22&boolean > |
@ -0,0 +1,11 @@ |
|||
stmd tests: |
|||
|
|||
& © Æ Ď ¾ ℋ ⅆ ∲ |
|||
|
|||
# Ӓ Ϡ � |
|||
|
|||
non-entities: |
|||
|
|||
&18900987654321234567890; &1234567890098765432123456789009876543212345678987654; |
|||
|
|||
&qwertyuioppoiuytrewqwer; &oiuytrewqwertyuioiuytrewqwertyuioytrewqwertyuiiuytri; |
@ -0,0 +1,44 @@ |
|||
Taking stmd tests from the spec for benchmarking here: |
|||
|
|||
<a><bab><c2c> |
|||
|
|||
<a/><b2/> |
|||
|
|||
<a /><b2 |
|||
data="foo" > |
|||
|
|||
<a foo="bar" bam = 'baz <em>"</em>' |
|||
_boolean zoop:33=zoop:33 /> |
|||
|
|||
<33> <__> |
|||
|
|||
<a h*#ref="hi"> |
|||
|
|||
<a href="hi'> <a href=hi'> |
|||
|
|||
< a>< |
|||
foo><bar/ > |
|||
|
|||
<a href='bar'title=title> |
|||
|
|||
</a> |
|||
</foo > |
|||
|
|||
</a href="foo"> |
|||
|
|||
foo <!-- this is a |
|||
comment - with hyphen --> |
|||
|
|||
foo <!-- not a comment -- two hyphens --> |
|||
|
|||
foo <?php echo $a; ?> |
|||
|
|||
foo <!ELEMENT br EMPTY> |
|||
|
|||
foo <![CDATA[>&<]]> |
|||
|
|||
<a href="ö"> |
|||
|
|||
<a href="\*"> |
|||
|
|||
<a href="\""> |
@ -0,0 +1,23 @@ |
|||
Valid links: |
|||
|
|||
[this is a link]() |
|||
[this is a link](<http://something.example.com/foo/bar>) |
|||
[this is a link](http://something.example.com/foo/bar 'test') |
|||
![this is an image]() |
|||
![this is an image](<http://something.example.com/foo/bar>) |
|||
![this is an image](http://something.example.com/foo/bar 'test') |
|||
|
|||
[escape test](<\>\>\>\>\>\>\>\>\>\>\>\>\>\>> '\'\'\'\'\'\'\'\'\'\'\'\'\'\'') |
|||
[escape test \]\]\]\]\]\]\]\]\]\]\]\]\]\]\]\]](\)\)\)\)\)\)\)\)\)\)\)\)\)\)) |
|||
|
|||
Invalid links: |
|||
|
|||
[this is not a link |
|||
|
|||
[this is not a link]( |
|||
|
|||
[this is not a link](http://something.example.com/foo/bar 'test' |
|||
|
|||
[this is not a link]((((((((((((((((((((((((((((((((((((((((((((((( |
|||
|
|||
[this is not a link]((((((((((()))))))))) (((((((((())))))))))) |
@ -0,0 +1,11 @@ |
|||
Valid links: |
|||
|
|||
[[[[[[[[](test)](test)](test)](test)](test)](test)](test)] |
|||
|
|||
[ [[[[[[[[[[[[[[[[[[ [](test) ]]]]]]]]]]]]]]]]]] ](test) |
|||
|
|||
Invalid links: |
|||
|
|||
[[[[[[[[[ |
|||
|
|||
[ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ |
@ -0,0 +1,24 @@ |
|||
|
|||
this\ |
|||
should\ |
|||
be\ |
|||
separated\ |
|||
by\ |
|||
newlines |
|||
|
|||
this |
|||
should |
|||
be |
|||
separated |
|||
by |
|||
newlines |
|||
too |
|||
|
|||
this |
|||
should |
|||
not |
|||
be |
|||
separated |
|||
by |
|||
newlines |
|||
|
@ -0,0 +1,18 @@ |
|||
|
|||
this is a test for tab expansion, be careful not to replace them with spaces |
|||
|
|||
1 4444 |
|||
22 333 |
|||
333 22 |
|||
4444 1 |
|||
|
|||
|
|||
tab-indented line |
|||
space-indented line |
|||
tab-indented line |
|||
|
|||
|
|||
a lot of spaces in between here |
|||
|
|||
a lot of tabs in between here |
|||
|
Loading…
Reference in new issue