1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Cache new passing tests

This commit is contained in:
Aidan Woods 2019-01-27 19:47:05 +00:00
parent 4fa89c1a80
commit 5ada761532
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
724 changed files with 1825 additions and 535 deletions

View File

@ -0,0 +1,2 @@
<pre><code>foo baz bim
</code></pre>

View File

@ -0,0 +1 @@
foo baz bim

View File

@ -1,2 +1,4 @@
<pre><code>aaa
<pre><code>```
aaa
```
</code></pre>

View File

@ -1,3 +1,3 @@
```
aaa
```
```
aaa
```

View File

@ -1,3 +1,3 @@
```
```
aaa
```

View File

@ -0,0 +1,2 @@
<pre><code>aaa
</code></pre>

View File

@ -0,0 +1,3 @@
```
aaa
```

View File

@ -0,0 +1,2 @@
<p><code></code>
aaa</p>

View File

@ -0,0 +1,2 @@
``` ```
aaa

View File

@ -1,4 +1,4 @@
<h2>foo</h2>
<p>foo</p>
<pre><code>bar
</code></pre>
<h1>baz</h1>
<p>baz</p>

View File

@ -1,6 +1,5 @@
foo
---
~~~
```
bar
~~~
# baz
```
baz

View File

@ -1,4 +1,4 @@
<pre><code class="language-ruby">def foo(x)
return 3
end
</code></pre>
<h2>foo</h2>
<pre><code>bar
</code></pre>
<h1>baz</h1>

View File

@ -1,5 +1,6 @@
```ruby
def foo(x)
return 3
end
```
foo
---
~~~
bar
~~~
# baz

View File

@ -0,0 +1,4 @@
<pre><code class="language-ruby">def foo(x)
return 3
end
</code></pre>

View File

@ -0,0 +1,5 @@
```ruby
def foo(x)
return 3
end
```

View File

@ -1,2 +1 @@
<p><code>aa</code>
foo</p>
<pre><code class="language-;"></code></pre>

View File

@ -1,2 +1,2 @@
``` aa ```
foo
````;
````

View File

@ -1,2 +1,2 @@
<pre><code>``` aaa
</code></pre>
<p><code>aa</code>
foo</p>

View File

@ -1,3 +1,2 @@
```
``` aaa
```
``` aa ```
foo

View File

@ -0,0 +1,2 @@
<pre><code>``` aaa
</code></pre>

View File

@ -0,0 +1,3 @@
```
``` aaa
```

View File

@ -0,0 +1,8 @@
<table>
<tr>
<td>
hi
</td>
</tr>
</table>
<p>okay.</p>

View File

@ -0,0 +1,9 @@
<table>
<tr>
<td>
hi
</td>
</tr>
</table>
okay.

View File

@ -0,0 +1,3 @@
<div>
*hello*
<foo><a>

View File

@ -0,0 +1,3 @@
<div>
*hello*
<foo><a>

View File

@ -0,0 +1,2 @@
</div>
*foo*

View File

@ -0,0 +1,2 @@
</div>
*foo*

View File

@ -0,0 +1,3 @@
<DIV CLASS="foo">
<p><em>Markdown</em></p>
</DIV>

View File

@ -0,0 +1,5 @@
<DIV CLASS="foo">
*Markdown*
</DIV>

View File

@ -0,0 +1,3 @@
<div>
*foo*
<p><em>bar</em></p>

View File

@ -0,0 +1,4 @@
<div>
*foo*
*bar*

View File

@ -0,0 +1 @@
<div><a href="bar">*foo*</a></div>

View File

@ -0,0 +1 @@
<div><a href="bar">*foo*</a></div>

View File

@ -1,3 +1,3 @@
<Warning>
*bar*
</Warning>
<table><tr><td>
foo
</td></tr></table>

View File

@ -1,3 +1,3 @@
<Warning>
*bar*
</Warning>
<table><tr><td>
foo
</td></tr></table>

View File

@ -0,0 +1,4 @@
<div></div>
``` c
int x = 33;
```

View File

@ -0,0 +1,4 @@
<div></div>
``` c
int x = 33;
```

View File

@ -0,0 +1,3 @@
<Warning>
*bar*
</Warning>

View File

@ -0,0 +1,3 @@
<Warning>
*bar*
</Warning>

View File

@ -0,0 +1 @@
<p><del><em>foo</em></del></p>

View File

@ -0,0 +1 @@
<del>*foo*</del>

View File

@ -0,0 +1,7 @@
<pre language="haskell"><code>
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
</code></pre>
<p>okay</p>

View File

@ -0,0 +1,7 @@
<pre language="haskell"><code>
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
</code></pre>
okay

View File

@ -1,5 +1,6 @@
<blockquote>
<div>
foo
</blockquote>
<p>bar</p>
<script type="text/javascript">
// JavaScript example
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
<p>okay</p>

View File

@ -1,4 +1,6 @@
> <div>
> foo
<script type="text/javascript">
// JavaScript example
bar
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
okay

View File

@ -1,6 +1,7 @@
<ul>
<li>
<div>
</li>
<li>foo</li>
</ul>
<style
type="text/css">
h1 {color:red;}
p {color:blue;}
</style>
<p>okay</p>

View File

@ -1,2 +1,7 @@
- <div>
- foo
<style
type="text/css">
h1 {color:red;}
p {color:blue;}
</style>
okay

View File

@ -1,2 +1,4 @@
<style>p{color:red;}</style>
<p><em>foo</em></p>
<style
type="text/css">
foo

View File

@ -1,2 +1,4 @@
<style>p{color:red;}</style>
*foo*
<style
type="text/css">
foo

View File

@ -0,0 +1,5 @@
<blockquote>
<div>
foo
</blockquote>
<p>bar</p>

View File

@ -0,0 +1,4 @@
> <div>
> foo
bar

View File

@ -1,3 +1,6 @@
<script>
foo
</script>1. *bar*
<ul>
<li>
<div>
</li>
<li>foo</li>
</ul>

View File

@ -1,3 +1,2 @@
<script>
foo
</script>1. *bar*
- <div>
- foo

View File

@ -0,0 +1,2 @@
<style>p{color:red;}</style>
<p><em>foo</em></p>

View File

@ -0,0 +1,2 @@
<style>p{color:red;}</style>
*foo*

View File

@ -0,0 +1,2 @@
<!-- foo -->*bar*
<p><em>baz</em></p>

View File

@ -0,0 +1,2 @@
<!-- foo -->*bar*
*baz*

View File

@ -0,0 +1,3 @@
<script>
foo
</script>1. *bar*

View File

@ -0,0 +1,3 @@
<script>
foo
</script>1. *bar*

View File

@ -0,0 +1,5 @@
<!-- Foo
bar
baz -->
<p>okay</p>

View File

@ -0,0 +1,5 @@
<!-- Foo
bar
baz -->
okay

View File

@ -1,3 +1,6 @@
<!-- foo -->
<pre><code>&lt;!-- foo --&gt;
</code></pre>
<?php
echo '>';
?>
<p>okay</p>

View File

@ -1,3 +1,6 @@
<!-- foo -->
<?php
<!-- foo -->
echo '>';
?>
okay

View File

@ -0,0 +1 @@
<!DOCTYPE html>

View File

@ -0,0 +1 @@
<!DOCTYPE html>

View File

@ -1,4 +1,13 @@
<p>Foo</p>
<div>
bar
</div>
<![CDATA[
function matchwo(a,b)
{
if (a < b && a < 0) then {
return 1;
} else {
return 0;
}
}
]]>
<p>okay</p>

View File

@ -1,4 +1,13 @@
Foo
<div>
bar
</div>
<![CDATA[
function matchwo(a,b)
{
if (a < b && a < 0) then {
return 1;
} else {
return 0;
}
}
]]>
okay

View File

@ -0,0 +1,3 @@
<!-- foo -->
<pre><code>&lt;!-- foo --&gt;
</code></pre>

View File

@ -0,0 +1,3 @@
<!-- foo -->
<!-- foo -->

View File

@ -1,3 +1,3 @@
<p>Foo
<a href="bar">
baz</p>
<div>
<pre><code>&lt;div&gt;
</code></pre>

View File

@ -1,3 +1,3 @@
Foo
<a href="bar">
baz
<div>
<div>

View File

@ -0,0 +1,4 @@
<p>Foo</p>
<div>
bar
</div>

View File

@ -0,0 +1,4 @@
Foo
<div>
bar
</div>

View File

@ -1,3 +1,4 @@
<div>
*Emphasized* text.
</div>
bar
</div>
*foo*

View File

@ -1,3 +1,4 @@
<div>
*Emphasized* text.
</div>
bar
</div>
*foo*

View File

@ -1,7 +1,3 @@
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>
<p>Foo
<a href="bar">
baz</p>

View File

@ -1,11 +1,3 @@
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>
Foo
<a href="bar">
baz

View File

@ -0,0 +1,3 @@
<div>
<p><em>Emphasized</em> text.</p>
</div>

View File

@ -0,0 +1,5 @@
<div>
*Emphasized* text.
</div>

View File

@ -0,0 +1,3 @@
<div>
*Emphasized* text.
</div>

View File

@ -0,0 +1,3 @@
<div>
*Emphasized* text.
</div>

View File

@ -0,0 +1,7 @@
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>

View File

@ -0,0 +1,11 @@
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>

View File

@ -0,0 +1,8 @@
<table>
<tr>
<pre><code>&lt;td&gt;
Hi
&lt;/td&gt;
</code></pre>
</tr>
</table>

View File

@ -0,0 +1,11 @@
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>

View File

@ -0,0 +1 @@
<p><a href="/url" title="title">foo</a></p>

View File

@ -0,0 +1,3 @@
[foo]: /url "title"
[foo]

View File

@ -0,0 +1,3 @@
<p>[foo]: /url 'title</p>
<p>with blank line'</p>
<p>[foo]</p>

View File

@ -0,0 +1,5 @@
[foo]: /url 'title
with blank line'
[foo]

View File

@ -0,0 +1,2 @@
<p>[foo]:</p>
<p>[foo]</p>

View File

@ -0,0 +1,3 @@
[foo]:
[foo]

View File

@ -0,0 +1 @@
<p><a href="url">foo</a></p>

View File

@ -1 +1,3 @@
[foo]: /url
[foo]
[foo]: url

View File

@ -1 +1 @@
<p>[foo]: /url &quot;title&quot; ok</p>
<p><a href="/url">Foo</a></p>

View File

@ -1 +1,3 @@
[foo]: /url "title" ok
[FOO]: /url
[Foo]

View File

@ -0,0 +1 @@
[foo]: /url

View File

@ -0,0 +1 @@
<p>[foo]: /url &quot;title&quot; ok</p>

View File

@ -0,0 +1 @@
[foo]: /url "title" ok

View File

@ -1,4 +1 @@
<h1><a href="/url">Foo</a></h1>
<blockquote>
<p>bar</p>
</blockquote>
<p>&quot;title&quot; ok</p>

Some files were not shown because too many files have changed in this diff Show More