Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Commit

Permalink
test(mark): commonmark - blockquote
Browse files Browse the repository at this point in the history
  • Loading branch information
a8m committed Sep 11, 2015
1 parent 2027126 commit adbe341
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions mark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,15 @@ baz</p>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>`},
{"178", `
> # Foo
> bar
> baz`, `
<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>`},
{"179", `
> # Foo
Expand All @@ -777,13 +786,40 @@ baz
<p>bar
baz
foo</p>
</blockquote>`},
{"182", `
> foo
---`, `
<blockquote>
<p>foo</p>
</blockquote>
<hr>`},
{"186", `
>`, `
<blockquote>
</blockquote>`},
{"187", `
>
>
> `, `
<blockquote>
</blockquote>`},
{"188", `
>
> foo
> `, `
<blockquote>
<p>foo</p>
</blockquote>`},
{"189", `
> foo
> bar`, `
<blockquote>
<p>foo</p>
</blockquote>
<blockquote>
<p>bar</p>
</blockquote>`},
{"190", `
> foo
Expand All @@ -806,6 +842,17 @@ foo
<p>foo</p>
<blockquote>
<p>bar</p>
</blockquote>`},
{"193", `
> aaa
***
> bbb`, `
<blockquote>
<p>aaa</p>
</blockquote>
<hr>
<blockquote>
<p>bbb</p>
</blockquote>`},
{"194", `
> bar
Expand Down Expand Up @@ -845,6 +892,17 @@ bar
baz</p>
</blockquote>
</blockquote>
</blockquote>`},
{"199", `
> code
> not code`, `
<blockquote>
<pre><code>code
</code></pre>
</blockquote>
<blockquote>
<p>not code</p>
</blockquote>`},
{"200", `
A paragraph
Expand Down

0 comments on commit adbe341

Please sign in to comment.