// This file is auto-generated by the build script // Please, do not modify it manually use super::test_markdown_html; #[test] fn spec_test_1() { let original = r##" foo baz bim "##; let expected = r##"
foo baz bim
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_2() {
let original = r##" foo baz bim
"##;
let expected = r##"foo baz bim
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_3() {
let original = r##" a a
ὐ a
"##;
let expected = r##"a a
ὐ a
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_4() {
let original = r##" - foo
bar
"##;
let expected = r##"foo
bar
foo
bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_7() { let original = r##"- foo "##; let expected = r##"foo
foo
foo
bar
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_9() {
let original = r##" - foo
- bar
- baz
"##;
let expected = r##"+++
"##; test_markdown_html(original, expected); } #[test] fn spec_test_15() { let original = r##"=== "##; let expected = r##"===
"##; test_markdown_html(original, expected); } #[test] fn spec_test_16() { let original = r##"-- ** __ "##; let expected = r##"-- ** __
"##; test_markdown_html(original, expected); } #[test] fn spec_test_17() { let original = r##" *** *** *** "##; let expected = r##"***
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_19() {
let original = r##"Foo
***
"##;
let expected = r##"Foo ***
"##; test_markdown_html(original, expected); } #[test] fn spec_test_20() { let original = r##"_____________________________________ "##; let expected = r##"_ _ _ _ a
a------
---a---
"##; test_markdown_html(original, expected); } #[test] fn spec_test_26() { let original = r##" *-* "##; let expected = r##"-
"##; test_markdown_html(original, expected); } #[test] fn spec_test_27() { let original = r##"- foo *** - bar "##; let expected = r##"Foo
bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_29() { let original = r##"Foo --- bar "##; let expected = r##"bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_30() { let original = r##"* Foo * * * * Bar "##; let expected = r##"####### foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_34() { let original = r##"#5 bolt #hashtag "##; let expected = r##"#5 bolt
#hashtag
"##; test_markdown_html(original, expected); } #[test] fn spec_test_35() { let original = r##"\## foo "##; let expected = r##"## foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_36() { let original = r##"# foo *bar* \*baz\* "##; let expected = r##"# foo
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_40() {
let original = r##"foo
# bar
"##;
let expected = r##"foo # bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_41() { let original = r##"## foo ## ### bar ### "##; let expected = r##"Foo bar
Bar foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_49() { let original = r##"## # ### ### "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_50() { let original = r##"Foo *bar* ========= Foo *bar* --------- "##; let expected = r##"Foo
---
Foo
Foo ---
"##; test_markdown_html(original, expected); } #[test] fn spec_test_58() { let original = r##"Foo = = Foo --- - "##; let expected = r##"Foo = =
Foo
`
of dashes"/>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_62() { let original = r##"> Foo --- "##; let expected = r##"Foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_64() { let original = r##"- Foo --- "##; let expected = r##"foo bar ===
Baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_67() { let original = r##" ==== "##; let expected = r##"====
"##; test_markdown_html(original, expected); } #[test] fn spec_test_68() { let original = r##"--- --- "##; let expected = r##"foo
foo
Foo
baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_74() { let original = r##"Foo bar --- baz "##; let expected = r##"Foo bar
baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_75() { let original = r##"Foo bar * * * baz "##; let expected = r##"Foo bar
baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_76() { let original = r##"Foo bar \--- baz "##; let expected = r##"Foo bar --- baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_77() { let original = r##" a simple indented code block "##; let expected = r##"a simple
indented code block
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_78() {
let original = r##" - foo
bar
"##;
let expected = r##"foo
bar
foo
<a/>
*hi*
- one
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_81() {
let original = r##" chunk1
chunk2
chunk3
"##;
let expected = r##"chunk1
chunk2
chunk3
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_82() {
let original = r##" chunk1
chunk2
"##;
let expected = r##"chunk1
chunk2
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_83() {
let original = r##"Foo
bar
"##;
let expected = r##"Foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_84() { let original = r##" foo bar "##; let expected = r##"foo
bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_85() { let original = r##"# Heading foo Heading ------ foo ---- "##; let expected = r##"foo
foo
foo
bar
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_87() {
let original = r##"
foo
"##;
let expected = r##"foo
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_88() {
let original = r##" foo
"##;
let expected = r##"foo
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_89() {
let original = r##"```
<
>
```
"##;
let expected = r##"<
>
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_90() {
let original = r##"~~~
<
>
~~~
"##;
let expected = r##"<
>
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_91() {
let original = r##"``
foo
``
"##;
let expected = r##"foo
aaa
~~~
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_93() {
let original = r##"~~~
aaa
```
~~~
"##;
let expected = r##"aaa
```
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_94() {
let original = r##"````
aaa
```
``````
"##;
let expected = r##"aaa
```
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_95() {
let original = r##"~~~~
aaa
~~~
~~~~
"##;
let expected = r##"aaa
~~~
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_96() {
let original = r##"```
"##;
let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_97() {
let original = r##"`````
```
aaa
"##;
let expected = r##"
```
aaa
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_98() {
let original = r##"> ```
> aaa
bbb
"##;
let expected = r##"aaa
bbb
"##; test_markdown_html(original, expected); } #[test] fn spec_test_99() { let original = r##"``` ``` "##; let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_100() {
let original = r##"```
```
"##;
let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_101() {
let original = r##" ```
aaa
aaa
```
"##;
let expected = r##"aaa
aaa
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_102() {
let original = r##" ```
aaa
aaa
aaa
```
"##;
let expected = r##"aaa
aaa
aaa
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_103() {
let original = r##" ```
aaa
aaa
aaa
```
"##;
let expected = r##"aaa
aaa
aaa
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_104() {
let original = r##" ```
aaa
```
"##;
let expected = r##"```
aaa
```
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_105() {
let original = r##"```
aaa
```
"##;
let expected = r##"aaa
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_106() {
let original = r##" ```
aaa
```
"##;
let expected = r##"aaa
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_107() {
let original = r##"```
aaa
```
"##;
let expected = r##"aaa
```
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_108() {
let original = r##"``` ```
aaa
"##;
let expected = r##"
aaa
aaa
~~~ ~~
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_110() {
let original = r##"foo
```
bar
```
baz
"##;
let expected = r##"foo
bar
baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_111() { let original = r##"foo --- ~~~ bar ~~~ # baz "##; let expected = r##"bar
def foo(x)
return 3
end
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_113() {
let original = r##"~~~~ ruby startline=3 $%@#$
def foo(x)
return 3
end
~~~~~~~
"##;
let expected = r##"def foo(x)
return 3
end
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_114() {
let original = r##"````;
````
"##;
let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_115() {
let original = r##"``` aa ```
foo
"##;
let expected = r##"aa
foo
foo
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_117() {
let original = r##"```
``` aaa
```
"##;
let expected = r##"``` aaa
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_118() {
let original = r##"
**Hello**, _world_. |
**Hello**, |
hi |
hi |
okay.
"##; test_markdown_html(original, expected); } #[test] fn spec_test_120() { let original = r##" *foo* "##; test_markdown_html(original, expected); } #[test] fn spec_test_122() { let original = r##"Markdown
bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_126() { let original = r##" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_130() { let original = r##"foo |
foo |
foo
foo
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
okay
"##;
let expected = r##"
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
okay
"##; test_markdown_html(original, expected); } #[test] fn spec_test_140() { let original = r##" okay "##; let expected = r##"okay
"##; test_markdown_html(original, expected); } #[test] fn spec_test_141() { let original = r##" okay "##; let expected = r##"okay
"##; test_markdown_html(original, expected); } #[test] fn spec_test_142() { let original = r##" *foo* "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_146() { let original = r##"*bar* *baz* "##; let expected = r##"*bar*baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_147() { let original = r##"1. *bar* "##; let expected = r##"1. *bar* "##; test_markdown_html(original, expected); } #[test] fn spec_test_148() { let original = r##" okay "##; let expected = r##"okay
"##; test_markdown_html(original, expected); } #[test] fn spec_test_149() { let original = r##"'; ?> okay "##; let expected = r##"'; ?>okay
"##; test_markdown_html(original, expected); } #[test] fn spec_test_150() { let original = r##" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_151() { let original = r##" okay "##; let expected = r##"okay
"##; test_markdown_html(original, expected); } #[test] fn spec_test_152() { let original = r##" "##; let expected = r##"<!-- foo -->
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_153() {
let original = r##" <div>
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_154() {
let original = r##"Foo
Foo
Foo baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_157() { let original = r##"Emphasized text.
Hi |
Hi |
Hi |
[foo]: /url 'title
with blank line'
[foo]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_167() { let original = r##"[foo]: /url [foo] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_168() { let original = r##"[foo]: [foo] "##; let expected = r##"[foo]:
[foo]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_169() { let original = r##"[foo]: <> [foo] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_170() { let original = r##"[foo]:[foo]:
[foo]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_171() { let original = r##"[foo]: /url\bar\*baz "foo\"bar\baz" [foo] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_172() { let original = r##"[foo] [foo]: url "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_173() { let original = r##"[foo] [foo]: first [foo]: second "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_174() { let original = r##"[FOO]: /url [Foo] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_175() { let original = r##"[ΑΓΩ]: /φου [αγω] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_176() { let original = r##"[foo]: /url "##; let expected = r##""##; test_markdown_html(original, expected); } #[test] fn spec_test_177() { let original = r##"[ foo ]: /url bar "##; let expected = r##"bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_178() { let original = r##"[foo]: /url "title" ok "##; let expected = r##"[foo]: /url "title" ok
"##; test_markdown_html(original, expected); } #[test] fn spec_test_179() { let original = r##"[foo]: /url "title" ok "##; let expected = r##""title" ok
"##; test_markdown_html(original, expected); } #[test] fn spec_test_180() { let original = r##" [foo]: /url "title" [foo] "##; let expected = r##"[foo]: /url "title"
[foo]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_181() { let original = r##"``` [foo]: /url ``` [foo] "##; let expected = r##"[foo]: /url
[foo]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_182() { let original = r##"Foo [bar]: /baz [bar] "##; let expected = r##"Foo [bar]: /baz
[bar]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_183() { let original = r##"# [Foo] [foo]: /url > bar "##; let expected = r##""##; test_markdown_html(original, expected); } #[test] fn spec_test_184() { let original = r##"[foo]: /url bar === [foo] "##; let expected = r##"bar
=== foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_186() { let original = r##"[foo]: /foo-url "foo" [bar]: /bar-url "bar" [baz]: /baz-url [foo], [bar], [baz] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_187() { let original = r##"[foo] > [foo]: /url "##; let expected = r##""##; test_markdown_html(original, expected); } #[test] fn spec_test_188() { let original = r##"[foo]: /url "##; let expected = r##""##; test_markdown_html(original, expected); } #[test] fn spec_test_189() { let original = r##"aaa bbb "##; let expected = r##"
aaa
bbb
"##; test_markdown_html(original, expected); } #[test] fn spec_test_190() { let original = r##"aaa bbb ccc ddd "##; let expected = r##"aaa bbb
ccc ddd
"##; test_markdown_html(original, expected); } #[test] fn spec_test_191() { let original = r##"aaa bbb "##; let expected = r##"aaa
bbb
"##; test_markdown_html(original, expected); } #[test] fn spec_test_192() { let original = r##" aaa bbb "##; let expected = r##"aaa bbb
"##; test_markdown_html(original, expected); } #[test] fn spec_test_193() { let original = r##"aaa bbb ccc "##; let expected = r##"aaa bbb ccc
"##; test_markdown_html(original, expected); } #[test] fn spec_test_194() { let original = r##" aaa bbb "##; let expected = r##"aaa bbb
"##; test_markdown_html(original, expected); } #[test] fn spec_test_195() { let original = r##" aaa bbb "##; let expected = r##"aaa
bbb
"##; test_markdown_html(original, expected); } #[test] fn spec_test_196() { let original = r##"aaa bbb "##; let expected = r##"aaa
bbb
aaa
"##; test_markdown_html(original, expected); } #[test] fn spec_test_199() { let original = r##"># Foo >bar > baz "##; let expected = r##"Foo
bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_200() { let original = r##" > # Foo > bar > baz "##; let expected = r##"Foo
bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_201() { let original = r##" > # Foo > bar > baz "##; let expected = r##"Foo
bar baz
> # Foo
> bar
> baz
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_202() {
let original = r##"> # Foo
> bar
baz
"##;
let expected = r##""##; test_markdown_html(original, expected); } #[test] fn spec_test_203() { let original = r##"> bar baz > foo "##; let expected = r##"Foo
bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_204() { let original = r##"> foo --- "##; let expected = r##"bar baz foo
foo
- foo
foo
bar
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_207() {
let original = r##"> ```
foo
```
"##;
let expected = r##"foo
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_208() {
let original = r##"> foo
- bar
"##;
let expected = r##""##; test_markdown_html(original, expected); } #[test] fn spec_test_209() { let original = r##"> "##; let expected = r##"foo - bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_210() { let original = r##"> > > "##; let expected = r##"
"##; test_markdown_html(original, expected); } #[test] fn spec_test_211() { let original = r##"> > foo > "##; let expected = r##"
"##; test_markdown_html(original, expected); } #[test] fn spec_test_212() { let original = r##"> foo > bar "##; let expected = r##"foo
foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_213() { let original = r##"> foo > bar "##; let expected = r##"bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_214() { let original = r##"> foo > > bar "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_215() { let original = r##"foo > bar "##; let expected = r##"foo
bar
foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_216() { let original = r##"> aaa *** > bbb "##; let expected = r##"bar
aaa
"##; test_markdown_html(original, expected); } #[test] fn spec_test_217() { let original = r##"> bar baz "##; let expected = r##"bbb
"##; test_markdown_html(original, expected); } #[test] fn spec_test_218() { let original = r##"> bar baz "##; let expected = r##"bar baz
bar
baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_219() { let original = r##"> bar > baz "##; let expected = r##"bar
baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_220() { let original = r##"> > > foo bar "##; let expected = r##""##; test_markdown_html(original, expected); } #[test] fn spec_test_221() { let original = r##">>> foo > bar >>baz "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_222() { let original = r##"> code > not code "##; let expected = r##"foo bar baz
code
"##; test_markdown_html(original, expected); } #[test] fn spec_test_223() { let original = r##"A paragraph with two lines. indented code > A block quote. "##; let expected = r##"not code
A paragraph with two lines.
indented code
"##; test_markdown_html(original, expected); } #[test] fn spec_test_224() { let original = r##"1. A paragraph with two lines. indented code > A block quote. "##; let expected = r##"A block quote.
A paragraph with two lines.
indented code
A block quote.
two
"##; test_markdown_html(original, expected); } #[test] fn spec_test_226() { let original = r##"- one two "##; let expected = r##"one
two
two
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_228() {
let original = r##" - one
two
"##;
let expected = r##"one
two
"##; test_markdown_html(original, expected); } #[test] fn spec_test_230() { let original = r##">>- one >> > > two "##; let expected = r##"
one
two
"##; test_markdown_html(original, expected); } #[test] fn spec_test_231() { let original = r##"-one 2.two "##; let expected = r##"
- one
two
-one
2.two
"##; test_markdown_html(original, expected); } #[test] fn spec_test_232() { let original = r##"- foo bar "##; let expected = r##"foo
bar
foo
bar
baz
bam
Foo
bar
baz
1234567890. not ok
"##; test_markdown_html(original, expected); } #[test] fn spec_test_237() { let original = r##"0. ok "##; let expected = r##"-1. not ok
"##; test_markdown_html(original, expected); } #[test] fn spec_test_240() { let original = r##"- foo bar "##; let expected = r##"foo
bar
foo
bar
indented code
paragraph
more code
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_243() {
let original = r##"1. indented code
paragraph
more code
"##;
let expected = r##"indented code
paragraph
more code
indented code
paragraph
more code
foo
bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_246() { let original = r##"- foo bar "##; let expected = r##"bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_247() { let original = r##"- foo bar "##; let expected = r##"foo
bar
bar
baz
foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_251() { let original = r##"- foo - - bar "##; let expected = r##"foo *
foo 1.
"##; test_markdown_html(original, expected); } #[test] fn spec_test_256() { let original = r##" 1. A paragraph with two lines. indented code > A block quote. "##; let expected = r##"A paragraph with two lines.
indented code
A block quote.
A paragraph with two lines.
indented code
A block quote.
A paragraph with two lines.
indented code
A block quote.
1. A paragraph
with two lines.
indented code
> A block quote.
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_260() {
let original = r##" 1. A paragraph
with two lines.
indented code
> A block quote.
"##;
let expected = r##"A paragraph with two lines.
indented code
A block quote.
"##; test_markdown_html(original, expected); } #[test] fn spec_test_263() { let original = r##"> 1. > Blockquote > continued here. "##; let expected = r##"
Blockquote continued here.
"##; test_markdown_html(original, expected); } #[test] fn spec_test_264() { let original = r##"- foo - bar - baz - boo "##; let expected = r##"
Blockquote continued here.
Foo
The number of windows in my house is 14. The number of doors is 6.
"##; test_markdown_html(original, expected); } #[test] fn spec_test_275() { let original = r##"The number of windows in my house is 1. The number of doors is 6. "##; let expected = r##"The number of windows in my house is
foo
bar
baz
baz
bim
foo
notcode
foo
code
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_280() {
let original = r##"- a
- b
- c
- d
- e
- f
- g
"##;
let expected = r##"a
b
c
a
b
3. c
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_284() {
let original = r##"- a
- b
- c
"##;
let expected = r##"a
b
c
a
c
a
b
c
d
a
b
d
b
b
c
b
b
c
foo
bar
foo
baz
a
d
hi
lo`
!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
"##; test_markdown_html(original, expected); } #[test] fn spec_test_299() { let original = r##"\ \A\a\ \3\φ\« "##; let expected = r##"\ \A\a\ \3\φ\«
"##; test_markdown_html(original, expected); } #[test] fn spec_test_300() { let original = r##"\*not emphasized* \*not emphasized* <br/> not a tag [not a link](/foo) `not code` 1. not a list * not a list # not a heading [foo]: /url "not a reference" ö not a character entity
"##; test_markdown_html(original, expected); } #[test] fn spec_test_301() { let original = r##"\\*emphasis* "##; let expected = r##"\emphasis
"##; test_markdown_html(original, expected); } #[test] fn spec_test_302() { let original = r##"foo\ bar "##; let expected = r##"foo
bar
\[\`
\[\]
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_305() {
let original = r##"~~~
\[\]
~~~
"##;
let expected = r##"\[\]
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_306() {
let original = r##"foo
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_311() {
let original = r##" & © Æ Ď
¾ ℋ ⅆ
∲ ≧̸
"##;
let expected = r##"& © Æ Ď ¾ ℋ ⅆ ∲ ≧̸
"##; test_markdown_html(original, expected); } #[test] fn spec_test_312() { let original = r##"# Ӓ Ϡ "##; let expected = r##"# Ӓ Ϡ �
"##; test_markdown_html(original, expected); } #[test] fn spec_test_313() { let original = r##"" ആ ಫ "##; let expected = r##"" ആ ಫ
"##; test_markdown_html(original, expected); } #[test] fn spec_test_314() { let original = r##"  &x; abcdef0; &ThisIsNotDefined; &hi?; "##; let expected = r##"  &x; &#; &#x; � &#abcdef0; &ThisIsNotDefined; &hi?;
"##; test_markdown_html(original, expected); } #[test] fn spec_test_315() { let original = r##"© "##; let expected = r##"©
"##; test_markdown_html(original, expected); } #[test] fn spec_test_316() { let original = r##"&MadeUpEntity; "##; let expected = r##"&MadeUpEntity;
"##; test_markdown_html(original, expected); } #[test] fn spec_test_317() { let original = r##" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_318() { let original = r##"[foo](/föö "föö") "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_319() { let original = r##"[foo] [foo]: /föö "föö" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_320() { let original = r##"``` föö foo ``` "##; let expected = r##"foo
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_321() {
let original = r##"`föö`
"##;
let expected = r##"föö
föfö
"##;
test_markdown_html(original, expected);
}
#[test]
fn spec_test_323() {
let original = r##"*foo*
*foo*
"##;
let expected = r##"*foo* foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_324() { let original = r##"* foo * foo "##; let expected = r##"* foo
foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_326() { let original = r##" foo "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_327() { let original = r##"[a](url "tit") "##; let expected = r##"[a](url "tit")
"##; test_markdown_html(original, expected); } #[test] fn spec_test_328() { let original = r##"`foo` "##; let expected = r##"foo
foo ` bar
``
``
a
b
foo bar baz
foo
foo bar baz
foo\
bar`
foo`bar
foo `` bar
*foo*
[not a link](/foo
)
<a href="
">`
<http://foo.bar.
baz>`
```foo``
"##; test_markdown_html(original, expected); } #[test] fn spec_test_348() { let original = r##"`foo "##; let expected = r##"`foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_349() { let original = r##"`foo``bar`` "##; let expected = r##"`foobar
foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_351() { let original = r##"a * foo bar* "##; let expected = r##"a * foo bar*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_352() { let original = r##"a*"foo"* "##; let expected = r##"a*"foo"*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_353() { let original = r##"* a * "##; let expected = r##"* a *
"##; test_markdown_html(original, expected); } #[test] fn spec_test_354() { let original = r##"foo*bar* "##; let expected = r##"foobar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_355() { let original = r##"5*6*78 "##; let expected = r##"5678
"##; test_markdown_html(original, expected); } #[test] fn spec_test_356() { let original = r##"_foo bar_ "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_357() { let original = r##"_ foo bar_ "##; let expected = r##"_ foo bar_
"##; test_markdown_html(original, expected); } #[test] fn spec_test_358() { let original = r##"a_"foo"_ "##; let expected = r##"a_"foo"_
"##; test_markdown_html(original, expected); } #[test] fn spec_test_359() { let original = r##"foo_bar_ "##; let expected = r##"foo_bar_
"##; test_markdown_html(original, expected); } #[test] fn spec_test_360() { let original = r##"5_6_78 "##; let expected = r##"5_6_78
"##; test_markdown_html(original, expected); } #[test] fn spec_test_361() { let original = r##"пристаням_стремятся_ "##; let expected = r##"пристаням_стремятся_
"##; test_markdown_html(original, expected); } #[test] fn spec_test_362() { let original = r##"aa_"bb"_cc "##; let expected = r##"aa_"bb"_cc
"##; test_markdown_html(original, expected); } #[test] fn spec_test_363() { let original = r##"foo-_(bar)_ "##; let expected = r##"foo-(bar)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_364() { let original = r##"_foo* "##; let expected = r##"_foo*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_365() { let original = r##"*foo bar * "##; let expected = r##"*foo bar *
"##; test_markdown_html(original, expected); } #[test] fn spec_test_366() { let original = r##"*foo bar * "##; let expected = r##"*foo bar *
"##; test_markdown_html(original, expected); } #[test] fn spec_test_367() { let original = r##"*(*foo) "##; let expected = r##"*(*foo)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_368() { let original = r##"*(*foo*)* "##; let expected = r##"(foo)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_369() { let original = r##"*foo*bar "##; let expected = r##"foobar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_370() { let original = r##"_foo bar _ "##; let expected = r##"_foo bar _
"##; test_markdown_html(original, expected); } #[test] fn spec_test_371() { let original = r##"_(_foo) "##; let expected = r##"_(_foo)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_372() { let original = r##"_(_foo_)_ "##; let expected = r##"(foo)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_373() { let original = r##"_foo_bar "##; let expected = r##"_foo_bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_374() { let original = r##"_пристаням_стремятся "##; let expected = r##"_пристаням_стремятся
"##; test_markdown_html(original, expected); } #[test] fn spec_test_375() { let original = r##"_foo_bar_baz_ "##; let expected = r##"foo_bar_baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_376() { let original = r##"_(bar)_. "##; let expected = r##"(bar).
"##; test_markdown_html(original, expected); } #[test] fn spec_test_377() { let original = r##"**foo bar** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_378() { let original = r##"** foo bar** "##; let expected = r##"** foo bar**
"##; test_markdown_html(original, expected); } #[test] fn spec_test_379() { let original = r##"a**"foo"** "##; let expected = r##"a**"foo"**
"##; test_markdown_html(original, expected); } #[test] fn spec_test_380() { let original = r##"foo**bar** "##; let expected = r##"foobar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_381() { let original = r##"__foo bar__ "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_382() { let original = r##"__ foo bar__ "##; let expected = r##"__ foo bar__
"##; test_markdown_html(original, expected); } #[test] fn spec_test_383() { let original = r##"__ foo bar__ "##; let expected = r##"__ foo bar__
"##; test_markdown_html(original, expected); } #[test] fn spec_test_384() { let original = r##"a__"foo"__ "##; let expected = r##"a__"foo"__
"##; test_markdown_html(original, expected); } #[test] fn spec_test_385() { let original = r##"foo__bar__ "##; let expected = r##"foo__bar__
"##; test_markdown_html(original, expected); } #[test] fn spec_test_386() { let original = r##"5__6__78 "##; let expected = r##"5__6__78
"##; test_markdown_html(original, expected); } #[test] fn spec_test_387() { let original = r##"пристаням__стремятся__ "##; let expected = r##"пристаням__стремятся__
"##; test_markdown_html(original, expected); } #[test] fn spec_test_388() { let original = r##"__foo, __bar__, baz__ "##; let expected = r##"foo, bar, baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_389() { let original = r##"foo-__(bar)__ "##; let expected = r##"foo-(bar)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_390() { let original = r##"**foo bar ** "##; let expected = r##"**foo bar **
"##; test_markdown_html(original, expected); } #[test] fn spec_test_391() { let original = r##"**(**foo) "##; let expected = r##"**(**foo)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_392() { let original = r##"*(**foo**)* "##; let expected = r##"(foo)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_393() { let original = r##"**Gomphocarpus (*Gomphocarpus physocarpus*, syn. *Asclepias physocarpa*)** "##; let expected = r##"Gomphocarpus (Gomphocarpus physocarpus, syn. Asclepias physocarpa)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_394() { let original = r##"**foo "*bar*" foo** "##; let expected = r##"foo "bar" foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_395() { let original = r##"**foo**bar "##; let expected = r##"foobar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_396() { let original = r##"__foo bar __ "##; let expected = r##"__foo bar __
"##; test_markdown_html(original, expected); } #[test] fn spec_test_397() { let original = r##"__(__foo) "##; let expected = r##"__(__foo)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_398() { let original = r##"_(__foo__)_ "##; let expected = r##"(foo)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_399() { let original = r##"__foo__bar "##; let expected = r##"__foo__bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_400() { let original = r##"__пристаням__стремятся "##; let expected = r##"__пристаням__стремятся
"##; test_markdown_html(original, expected); } #[test] fn spec_test_401() { let original = r##"__foo__bar__baz__ "##; let expected = r##"foo__bar__baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_402() { let original = r##"__(bar)__. "##; let expected = r##"(bar).
"##; test_markdown_html(original, expected); } #[test] fn spec_test_403() { let original = r##"*foo [bar](/url)* "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_404() { let original = r##"*foo bar* "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_405() { let original = r##"_foo __bar__ baz_ "##; let expected = r##"foo bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_406() { let original = r##"_foo _bar_ baz_ "##; let expected = r##"foo bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_407() { let original = r##"__foo_ bar_ "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_408() { let original = r##"*foo *bar** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_409() { let original = r##"*foo **bar** baz* "##; let expected = r##"foo bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_410() { let original = r##"*foo**bar**baz* "##; let expected = r##"foobarbaz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_411() { let original = r##"*foo**bar* "##; let expected = r##"foo**bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_412() { let original = r##"***foo** bar* "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_413() { let original = r##"*foo **bar*** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_414() { let original = r##"*foo**bar*** "##; let expected = r##"foobar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_415() { let original = r##"foo***bar***baz "##; let expected = r##"foobarbaz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_416() { let original = r##"foo******bar*********baz "##; let expected = r##"foobar***baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_417() { let original = r##"*foo **bar *baz* bim** bop* "##; let expected = r##"foo bar baz bim bop
"##; test_markdown_html(original, expected); } #[test] fn spec_test_418() { let original = r##"*foo [*bar*](/url)* "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_419() { let original = r##"** is not an empty emphasis "##; let expected = r##"** is not an empty emphasis
"##; test_markdown_html(original, expected); } #[test] fn spec_test_420() { let original = r##"**** is not an empty strong emphasis "##; let expected = r##"**** is not an empty strong emphasis
"##; test_markdown_html(original, expected); } #[test] fn spec_test_421() { let original = r##"**foo [bar](/url)** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_422() { let original = r##"**foo bar** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_423() { let original = r##"__foo _bar_ baz__ "##; let expected = r##"foo bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_424() { let original = r##"__foo __bar__ baz__ "##; let expected = r##"foo bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_425() { let original = r##"____foo__ bar__ "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_426() { let original = r##"**foo **bar**** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_427() { let original = r##"**foo *bar* baz** "##; let expected = r##"foo bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_428() { let original = r##"**foo*bar*baz** "##; let expected = r##"foobarbaz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_429() { let original = r##"***foo* bar** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_430() { let original = r##"**foo *bar*** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_431() { let original = r##"**foo *bar **baz** bim* bop** "##; let expected = r##"foo bar baz bim bop
"##; test_markdown_html(original, expected); } #[test] fn spec_test_432() { let original = r##"**foo [*bar*](/url)** "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_433() { let original = r##"__ is not an empty emphasis "##; let expected = r##"__ is not an empty emphasis
"##; test_markdown_html(original, expected); } #[test] fn spec_test_434() { let original = r##"____ is not an empty strong emphasis "##; let expected = r##"____ is not an empty strong emphasis
"##; test_markdown_html(original, expected); } #[test] fn spec_test_435() { let original = r##"foo *** "##; let expected = r##"foo ***
"##; test_markdown_html(original, expected); } #[test] fn spec_test_436() { let original = r##"foo *\** "##; let expected = r##"foo *
"##; test_markdown_html(original, expected); } #[test] fn spec_test_437() { let original = r##"foo *_* "##; let expected = r##"foo _
"##; test_markdown_html(original, expected); } #[test] fn spec_test_438() { let original = r##"foo ***** "##; let expected = r##"foo *****
"##; test_markdown_html(original, expected); } #[test] fn spec_test_439() { let original = r##"foo **\*** "##; let expected = r##"foo *
"##; test_markdown_html(original, expected); } #[test] fn spec_test_440() { let original = r##"foo **_** "##; let expected = r##"foo _
"##; test_markdown_html(original, expected); } #[test] fn spec_test_441() { let original = r##"**foo* "##; let expected = r##"*foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_442() { let original = r##"*foo** "##; let expected = r##"foo*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_443() { let original = r##"***foo** "##; let expected = r##"*foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_444() { let original = r##"****foo* "##; let expected = r##"***foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_445() { let original = r##"**foo*** "##; let expected = r##"foo*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_446() { let original = r##"*foo**** "##; let expected = r##"foo***
"##; test_markdown_html(original, expected); } #[test] fn spec_test_447() { let original = r##"foo ___ "##; let expected = r##"foo ___
"##; test_markdown_html(original, expected); } #[test] fn spec_test_448() { let original = r##"foo _\__ "##; let expected = r##"foo _
"##; test_markdown_html(original, expected); } #[test] fn spec_test_449() { let original = r##"foo _*_ "##; let expected = r##"foo *
"##; test_markdown_html(original, expected); } #[test] fn spec_test_450() { let original = r##"foo _____ "##; let expected = r##"foo _____
"##; test_markdown_html(original, expected); } #[test] fn spec_test_451() { let original = r##"foo __\___ "##; let expected = r##"foo _
"##; test_markdown_html(original, expected); } #[test] fn spec_test_452() { let original = r##"foo __*__ "##; let expected = r##"foo *
"##; test_markdown_html(original, expected); } #[test] fn spec_test_453() { let original = r##"__foo_ "##; let expected = r##"_foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_454() { let original = r##"_foo__ "##; let expected = r##"foo_
"##; test_markdown_html(original, expected); } #[test] fn spec_test_455() { let original = r##"___foo__ "##; let expected = r##"_foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_456() { let original = r##"____foo_ "##; let expected = r##"___foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_457() { let original = r##"__foo___ "##; let expected = r##"foo_
"##; test_markdown_html(original, expected); } #[test] fn spec_test_458() { let original = r##"_foo____ "##; let expected = r##"foo___
"##; test_markdown_html(original, expected); } #[test] fn spec_test_459() { let original = r##"**foo** "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_460() { let original = r##"*_foo_* "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_461() { let original = r##"__foo__ "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_462() { let original = r##"_*foo*_ "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_463() { let original = r##"****foo**** "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_464() { let original = r##"____foo____ "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_465() { let original = r##"******foo****** "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_466() { let original = r##"***foo*** "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_467() { let original = r##"_____foo_____ "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_468() { let original = r##"*foo _bar* baz_ "##; let expected = r##"foo _bar baz_
"##; test_markdown_html(original, expected); } #[test] fn spec_test_469() { let original = r##"*foo __bar *baz bim__ bam* "##; let expected = r##"foo bar *baz bim bam
"##; test_markdown_html(original, expected); } #[test] fn spec_test_470() { let original = r##"**foo **bar baz** "##; let expected = r##"**foo bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_471() { let original = r##"*foo *bar baz* "##; let expected = r##"*foo bar baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_472() { let original = r##"*[bar*](/url) "##; let expected = r##"*bar*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_473() { let original = r##"_foo [bar_](/url) "##; let expected = r##"_foo bar_
"##; test_markdown_html(original, expected); } #[test] fn spec_test_474() { let original = r##"* "##; let expected = r##"*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_475() { let original = r##"** "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_476() { let original = r##"__ "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_477() { let original = r##"*a `*`* "##; let expected = r##"a *
a _
[link](/my uri)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_486() { let original = r##"[link]([link](foo bar)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_488() { let original = r##"[link]([link](
[link](<foo>)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_491() { let original = r##"[a]( [a](c) "##; let expected = r##"[a](<b)c [a](<b)c> [a](c)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_492() { let original = r##"[link](\(foo\)) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_493() { let original = r##"[link](foo(and(bar))) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_494() { let original = r##"[link](foo\(and\(bar\)) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_495() { let original = r##"[link]([link](/url "title "and" title")
"##; test_markdown_html(original, expected); } #[test] fn spec_test_505() { let original = r##"[link](/url 'title "and" title') "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_506() { let original = r##"[link]( /uri "title" ) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_507() { let original = r##"[link] (/uri) "##; let expected = r##"[link] (/uri)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_508() { let original = r##"[link [foo [bar]]](/uri) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_509() { let original = r##"[link] bar](/uri) "##; let expected = r##"[link] bar](/uri)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_510() { let original = r##"[link [bar](/uri) "##; let expected = r##"[link bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_511() { let original = r##"[link \[bar](/uri) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_512() { let original = r##"[link *foo **bar** `#`*](/uri) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_513() { let original = r##"[![moon](moon.jpg)](/uri) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_514() { let original = r##"[foo [bar](/uri)](/uri) "##; let expected = r##"[foo bar](/uri)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_515() { let original = r##"[foo *[bar [baz](/uri)](/uri)*](/uri) "##; let expected = r##"[foo [bar baz](/uri)](/uri)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_516() { let original = r##"![[[foo](uri1)](uri2)](uri3) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_517() { let original = r##"*[foo*](/uri) "##; let expected = r##"*foo*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_518() { let original = r##"[foo *bar](baz*) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_519() { let original = r##"*foo [bar* baz] "##; let expected = r##"foo [bar baz]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_520() { let original = r##"[foo[foo
[foo](/uri)
[foohttp://example.com/?search=](uri)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_523() { let original = r##"[foo][bar] [bar]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_524() { let original = r##"[link [foo [bar]]][ref] [ref]: /uri "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_525() { let original = r##"[link \[bar][ref] [ref]: /uri "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_526() { let original = r##"[link *foo **bar** `#`*][ref] [ref]: /uri "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_527() { let original = r##"[![moon](moon.jpg)][ref] [ref]: /uri "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_528() { let original = r##"[foo [bar](/uri)][ref] [ref]: /uri "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_529() { let original = r##"[foo *bar [baz][ref]*][ref] [ref]: /uri "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_530() { let original = r##"*[foo*][ref] [ref]: /uri "##; let expected = r##"*foo*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_531() { let original = r##"[foo *bar][ref] [ref]: /uri "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_532() { let original = r##"[foo[foo
[foo][ref]
[foohttp://example.com/?search=][ref]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_535() { let original = r##"[foo][BaR] [bar]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_536() { let original = r##"[Толпой][Толпой] is a Russian word. [ТОЛПОЙ]: /url "##; let expected = r##"Толпой is a Russian word.
"##; test_markdown_html(original, expected); } #[test] fn spec_test_537() { let original = r##"[Foo bar]: /url [Baz][Foo bar] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_538() { let original = r##"[foo] [bar] [bar]: /url "title" "##; let expected = r##"[foo] bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_539() { let original = r##"[foo] [bar] [bar]: /url "title" "##; let expected = r##"[foo] bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_540() { let original = r##"[foo]: /url1 [foo]: /url2 [bar][foo] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_541() { let original = r##"[bar][foo\!] [foo!]: /url "##; let expected = r##"[bar][foo!]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_542() { let original = r##"[foo][ref[] [ref[]: /uri "##; let expected = r##"[foo][ref[]
[ref[]: /uri
"##; test_markdown_html(original, expected); } #[test] fn spec_test_543() { let original = r##"[foo][ref[bar]] [ref[bar]]: /uri "##; let expected = r##"[foo][ref[bar]]
[ref[bar]]: /uri
"##; test_markdown_html(original, expected); } #[test] fn spec_test_544() { let original = r##"[[[foo]]] [[[foo]]]: /url "##; let expected = r##"[[[foo]]]
[[[foo]]]: /url
"##; test_markdown_html(original, expected); } #[test] fn spec_test_545() { let original = r##"[foo][ref\[] [ref\[]: /uri "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_546() { let original = r##"[bar\\]: /uri [bar\\] "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_547() { let original = r##"[] []: /uri "##; let expected = r##"[]
[]: /uri
"##; test_markdown_html(original, expected); } #[test] fn spec_test_548() { let original = r##"[ ] [ ]: /uri "##; let expected = r##"[ ]
[ ]: /uri
"##; test_markdown_html(original, expected); } #[test] fn spec_test_549() { let original = r##"[foo][] [foo]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_550() { let original = r##"[*foo* bar][] [*foo* bar]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_551() { let original = r##"[Foo][] [foo]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_552() { let original = r##"[foo] [] [foo]: /url "title" "##; let expected = r##"foo []
"##; test_markdown_html(original, expected); } #[test] fn spec_test_553() { let original = r##"[foo] [foo]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_554() { let original = r##"[*foo* bar] [*foo* bar]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_555() { let original = r##"[[*foo* bar]] [*foo* bar]: /url "title" "##; let expected = r##"[foo bar]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_556() { let original = r##"[[bar [foo] [foo]: /url "##; let expected = r##"[[bar foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_557() { let original = r##"[Foo] [foo]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_558() { let original = r##"[foo] bar [foo]: /url "##; let expected = r##"foo bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_559() { let original = r##"\[foo] [foo]: /url "title" "##; let expected = r##"[foo]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_560() { let original = r##"[foo*]: /url *[foo*] "##; let expected = r##"*foo*
"##; test_markdown_html(original, expected); } #[test] fn spec_test_561() { let original = r##"[foo][bar] [foo]: /url1 [bar]: /url2 "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_562() { let original = r##"[foo][] [foo]: /url1 "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_563() { let original = r##"[foo]() [foo]: /url1 "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_564() { let original = r##"[foo](not a link) [foo]: /url1 "##; let expected = r##"foo(not a link)
"##; test_markdown_html(original, expected); } #[test] fn spec_test_565() { let original = r##"[foo][bar][baz] [baz]: /url "##; let expected = r##"[foo]bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_566() { let original = r##"[foo][bar][baz] [baz]: /url1 [bar]: /url2 "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_567() { let original = r##"[foo][bar][baz] [baz]: /url1 [foo]: /url2 "##; let expected = r##"[foo]bar
"##; test_markdown_html(original, expected); } #[test] fn spec_test_568() { let original = r##"![foo](/url "title") "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_569() { let original = r##"![foo *bar*] [foo *bar*]: train.jpg "train & tracks" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_570() { let original = r##"![foo ![bar](/url)](/url2) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_571() { let original = r##"![foo [bar](/url)](/url2) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_572() { let original = r##"![foo *bar*][] [foo *bar*]: train.jpg "train & tracks" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_573() { let original = r##"![foo *bar*][foobar] [FOOBAR]: train.jpg "train & tracks" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_574() { let original = r##"![foo](train.jpg) "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_575() { let original = r##"My ![foo bar](/path/to/train.jpg "title" ) "##; let expected = r##"My
"##; test_markdown_html(original, expected); } #[test] fn spec_test_576() { let original = r##"![foo]([]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_584() { let original = r##"![foo] [foo]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_585() { let original = r##"![*foo* bar] [*foo* bar]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_586() { let original = r##"![[foo]] [[foo]]: /url "title" "##; let expected = r##"![[foo]]
[[foo]]: /url "title"
"##; test_markdown_html(original, expected); } #[test] fn spec_test_587() { let original = r##"![Foo] [foo]: /url "title" "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_588() { let original = r##"!\[foo] [foo]: /url "title" "##; let expected = r##"![foo]
"##; test_markdown_html(original, expected); } #[test] fn spec_test_589() { let original = r##"\![foo] [foo]: /url "title" "##; let expected = r##"!foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_590() { let original = r##"http://foo.bar.baz/test?q=hello&id=22&boolean
"##; test_markdown_html(original, expected); } #[test] fn spec_test_592() { let original = r##"<http://foo.bar/baz bim>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_599() { let original = r##"<foo+@bar.example.com>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_603() { let original = r##"<> "##; let expected = r##"<>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_604() { let original = r##"< http://foo.bar > "##; let expected = r##"< http://foo.bar >
"##; test_markdown_html(original, expected); } #[test] fn spec_test_605() { let original = r##"<m:abc>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_606() { let original = r##"<foo.bar.baz>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_607() { let original = r##"http://example.com "##; let expected = r##"http://example.com
"##; test_markdown_html(original, expected); } #[test] fn spec_test_608() { let original = r##"foo@bar.example.com "##; let expected = r##"foo@bar.example.com
"##; test_markdown_html(original, expected); } #[test] fn spec_test_609() { let original = r##"Foo
<33> <__>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_615() { let original = r##" "##; let expected = r##"<a h*#ref="hi">
"##; test_markdown_html(original, expected); } #[test] fn spec_test_616() { let original = r##"<a href="hi'> <a href=hi'> "##; test_markdown_html(original, expected); } #[test] fn spec_test_617() { let original = r##"< a>< foo>< a>< foo><bar/ > <foo bar=baz bim!bop />
"##; test_markdown_html(original, expected); } #[test] fn spec_test_618() { let original = r##" "##; let expected = r##"<a href='bar'title=title>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_619() { let original = r##"</a href="foo">
"##; test_markdown_html(original, expected); } #[test] fn spec_test_621() { let original = r##"foo "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_622() { let original = r##"foo "##; let expected = r##"foo <!-- not a comment -- two hyphens -->
"##; test_markdown_html(original, expected); } #[test] fn spec_test_623() { let original = r##"foo foo --> foo "##; let expected = r##"foo <!--> foo -->
foo <!-- foo--->
"##; test_markdown_html(original, expected); } #[test] fn spec_test_624() { let original = r##"foo "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_625() { let original = r##"foo "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_626() { let original = r##"foo &<]]> "##; let expected = r##"foo &<]]>
"##; test_markdown_html(original, expected); } #[test] fn spec_test_627() { let original = r##"foo "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_628() { let original = r##"foo "##; let expected = r##" "##; test_markdown_html(original, expected); } #[test] fn spec_test_629() { let original = r##" "##; let expected = r##"<a href=""">
"##; test_markdown_html(original, expected); } #[test] fn spec_test_630() { let original = r##"foo baz "##; let expected = r##"foo
baz
foo
baz
foo
baz
foo
bar
foo
bar
foo
bar
foo
bar
code span
code\ span
foo\
"##; test_markdown_html(original, expected); } #[test] fn spec_test_642() { let original = r##"foo "##; let expected = r##"foo
"##; test_markdown_html(original, expected); } #[test] fn spec_test_643() { let original = r##"### foo\ "##; let expected = r##"foo baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_646() { let original = r##"foo baz "##; let expected = r##"foo baz
"##; test_markdown_html(original, expected); } #[test] fn spec_test_647() { let original = r##"hello $.;'there "##; let expected = r##"hello $.;'there
"##; test_markdown_html(original, expected); } #[test] fn spec_test_648() { let original = r##"Foo χρῆν "##; let expected = r##"Foo χρῆν
"##; test_markdown_html(original, expected); } #[test] fn spec_test_649() { let original = r##"Multiple spaces "##; let expected = r##"Multiple spaces
"##; test_markdown_html(original, expected); }