// This file is auto-generated by the build script // Please, do not modify it manually use super::test_markdown_html; #[test] fn regression_test_1() { let original = r##"
Testing 1..2..3.. This is a test of the details element.
"##; let expected = r##"
Testing 1..2..3..

This is a test of the details element.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_2() { let original = r##"see the [many] [articles] [on] [QuickCheck]. [many]: https://medium.com/@jlouis666/quickcheck-advice-c357efb4e7e6 [articles]: http://www.quviq.com/products/erlang-quickcheck/ [on]: https://wiki.haskell.org/Introduction_to_QuickCheck1 [QuickCheck]: https://hackage.haskell.org/package/QuickCheck "##; let expected = r##"

see the many articles on QuickCheck.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_3() { let original = r##"[![debug-stub-derive on crates.io][cratesio-image]][cratesio] [![debug-stub-derive on docs.rs][docsrs-image]][docsrs] [cratesio-image]: https://img.shields.io/crates/v/debug_stub_derive.svg [cratesio]: https://crates.io/crates/debug_stub_derive [docsrs-image]: https://docs.rs/debug_stub_derive/badge.svg?version=0.3.0 [docsrs]: https://docs.rs/debug_stub_derive/0.3.0/ "##; let expected = r##"

debug-stub-derive on crates.io debug-stub-derive on docs.rs

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_4() { let original = r##"| Title A | Title B | | --------- | --------- | | Content | Content | | Title A | Title B | Title C | Title D | | --------- | --------- | --------- | ---------:| | Content | Content | Conent | Content | "##; let expected = r##"
Title ATitle B
ContentContent
Title ATitle BTitle CTitle D
ContentContentConentContent
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_5() { let original = r##"foo§__(bar)__ "##; let expected = r##"

foo§(bar)

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_6() { let original = r##" hello "##; let expected = r##"

https://example.com hello

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_7() { let original = r##"[foo][bar] [bar]: a "##; let expected = r##"

foo

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_8() { let original = r##" - **foo** (u8, u8) make something - **bar** (u16, u16) make something "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_9() { let original = r##"[` i8 `]( ../../../std/primitive.i8.html ) "##; let expected = r##"

i8

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_10() { let original = r##"[a] [a]: /url (title\\*) "##; let expected = r##"

a

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_11() { let original = r##"[a] [a]: /url (title\)) "##; let expected = r##"

a

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_12() { let original = r##"[a] [a]: /url (title)) "##; let expected = r##"

[a]

[a]: /url (title))

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_13() { let original = r##"a "##; let expected = r##"

a <?php this is not a valid processing tag

b

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_14() { let original = r##"[a]: u\ foo "##; let expected = r##"

foo

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_15() { let original = r##"\`foo` "##; let expected = r##"

`foo`

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_16() { let original = r##"foo\\ bar "##; let expected = r##"

foo\ bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_17() { let original = r##"1\. foo 1\) bar "##; let expected = r##"

1. foo

1) bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_18() { let original = r##"1... 1.2.3. 1 2 3 . 1.|2.-3. 1)2)3) "##; let expected = r##"

1...

1.2.3.

1 2 3 .

1.|2.-3.

1)2)3)

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_19() { let original = r##"[](<<>) "##; let expected = r##"

[](<<>)

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_20() { let original = r##"\``foo``bar` "##; let expected = r##"

`foo``bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_21() { let original = r##"\\`foo` "##; let expected = r##"

\foo

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_22() { let original = r##"[\\]: x YOLO "##; let expected = r##"

YOLO

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_23() { let original = r##"lorem ipsum A | B ---|--- foo | bar "##; let expected = r##"

lorem ipsum A | B ---|--- foo | bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_24() { let original = r##"foo|bar ---|--- foo|bar "##; let expected = r##"
foobar
foobar
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_25() { let original = r##"foo|bar\\ ---|--- foo|bar "##; let expected = r##"
foobar\
foobar
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_26() { let original = r##"[](url) "##; let expected = r##"

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_27() { let original = r##"[bar](url) "##; let expected = r##"

bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_28() { let original = r##"![](http://example.com/logo.png) "##; let expected = r##"

http://example.com

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_29() { let original = r##"[ ](url) "##; let expected = r##"

http://one http://two

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_30() { let original = r##"Markdown | Less | Pretty --- | --- | --- some text "##; let expected = r##"
MarkdownLessPretty

some text

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_31() { let original = r##"1. > foo 2. > "##; let expected = r##"
  1. foo

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_32() { let original = r##"[ x ]: f "##; let expected = r##"

[ x

]: f

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_33() { let original = r##"[foo]: "##; let expected = r##"

[foo]:

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_34() { let original = r##"> [foo > bar]: /url > > [foo bar] "##; let expected = r##"

foo bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_35() { let original = r##"> foo | bar > --- | --- yolo | swag "##; let expected = r##"
foobar

yolo | swag

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_36() { let original = r##" "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_37() { let original = r##" "##; let expected = r##"

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_38() { let original = r##"~~*_**__ __a__ "##; let expected = r##"

~~*_**__

a

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_39() { let original = r##"> ` > ` "##; let expected = r##"

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_40() { let original = r##"`\|` "##; let expected = r##"

\|

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_41() { let original = r##"Paragraph 1 Paragraph 2 "##; let expected = r##"

Paragraph 1

Paragraph 2

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_42() { let original = r##"\[[link text](https://www.google.com/)\] "##; let expected = r##"

[link text]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_43() { let original = r##"foo | bar --- | --- [a](< | url>) "##; let expected = r##"
foobar
[a](<url>)
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_44() { let original = r##"[a](url " - - - ") "##; let expected = r##"

[a](url "


")

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_45() { let original = r##"[a](url ) "##; let expected = r##"

[a](url

)

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_46() { let original = r##"[a](b " ") "##; let expected = r##"

[a](b "

")

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_47() { let original = r##" "##; let expected = r##"

<http:// >

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_48() { let original = r##" "##; let expected = r##"

<http://>

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_49() { let original = r##"foo | bar --- | --- foobar <http://baz "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_50() { let original = r##"foo | bar --- | --- "##; let expected = r##"
foobar
<http://>
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_51() { let original = r##"\*hi\_ "##; let expected = r##"

*hi_

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_52() { let original = r##"email: \_ "##; let expected = r##"

email: john@example.com_

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_53() { let original = r##"> [link](/url 'foo > bar') "##; let expected = r##"

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_54() { let original = r##"> [foo > bar]: /url > > [foo bar] "##; let expected = r##"

foo bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_55() { let original = r##"> [foo bar]: /url > > [foo > bar] "##; let expected = r##"

foo bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_56() { let original = r##"> - [a > b c]: /foo [a b c] "##; let expected = r##"

a b c

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_57() { let original = r##"[a > b]: /foo [a b] [a > b] "##; let expected = r##"

[a

b]: /foo

[a b] [a > b]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_58() { let original = r##"[`cargo package`] [`cargo package`]: https://example.com "##; let expected = r##"

cargo package

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_59() { let original = r##"> [`cargo > package`] [`cargo package`]: https://example.com "##; let expected = r##"

cargo package

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_60() { let original = r##"> `cargo > package` "##; let expected = r##"

cargo package

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_61() { let original = r##"> Note: Though you should not rely on this, all pointers to title="Dynamically Sized Types">DSTs are currently twice the size of > the size of `usize` and have the same alignment. "##; let expected = r##"

Note: Though you should not rely on this, all pointers to DSTs are currently twice the size of the size of usize and have the same alignment.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_62() { let original = r##"Lorem ipsum.[^a] An unordered list before the footnotes: * Ipsum * Lorem [^a]: Cool. "##; let expected = r##"

Lorem ipsum.1

An unordered list before the footnotes:

  • Ipsum
  • Lorem
1

Cool.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_63() { let original = r##"[][a] [a]: b # assimp-rs [![][crates-badge]][crates] [crates]: https://crates.io/crates/assimp [crates-badge]: http://meritbadge.herokuapp.com/assimp "##; let expected = r##"

assimp-rs

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_64() { let original = r##"* A list. * A sublist. * Another sublist. * A list. * A sublist. * Another sublist. "##; let expected = r##"
  • A list.

    • A sublist.

    • Another sublist.

  • A list.

    • A sublist.

    • Another sublist.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_65() { let original = r##"<foo

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_66() { let original = r##"> > a > ="yo > > lo"> "##; let expected = r##"

a

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_67() { let original = r##" - the whitespace here are tabs "##; let expected = r##"
-	the whitespace here are tabs
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_68() { let original = r##"1. a 1. a a 2. a "##; let expected = r##"
  1. a
    1. a

a 2. a

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_69() { let original = r##"1. a 2. a 2. a "##; let expected = r##"
  1. a
  2. a 2. a
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_70() { let original = r##"* [ ] foo * [ ] bar baz "##; let expected = r##"
  • foo

  • bar

baz

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_71() { let original = r##"* foo + bar + baz "##; let expected = r##"
  • foo
    • bar
    • baz
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_72() { let original = r##"[`]: xx: [`]`] "##; let expected = r##"

[]]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_73() { let original = r##"~~foo~~bar "##; let expected = r##"

foobar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_74() { let original = r##"foo~~bar~~ "##; let expected = r##"

foobar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_75() { let original = r##"*~~__emphasis strike strong__~~* ~~*__strike emphasis strong__*~~ "##; let expected = r##"

emphasis strike strong strike emphasis strong

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_76() { let original = r##"*~~__emphasis strike strong__~~* ~~*__`strike emphasis strong code`__*~~ "##; let expected = r##"

emphasis strike strong strike emphasis strong code

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_77() { let original = r##"*~~`emphasis strike code`~~* ~~*__strike emphasis strong__*~~ "##; let expected = r##"

emphasis strike code strike emphasis strong

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_78() { let original = r##"*~~`emphasis strike code`~~* ~~*__`strike emphasis strong code`__*~~ "##; let expected = r##"

emphasis strike code strike emphasis strong code

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_79() { let original = r##"**~~_strong strike emphasis_~~** ~~*__strike emphasis strong__*~~ "##; let expected = r##"

strong strike emphasis strike emphasis strong

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_80() { let original = r##"**~~_strong strike emphasis_~~** ~~*__`strike emphasis strong code`__*~~ "##; let expected = r##"

strong strike emphasis strike emphasis strong code

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_81() { let original = r##"**~~`strong strike code`~~** ~~*__strike emphasis strong__*~~ "##; let expected = r##"

strong strike code strike emphasis strong

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_82() { let original = r##"**~~`strong strike code`~~** ~~*__`strike emphasis strong code`__*~~ "##; let expected = r##"

strong strike code strike emphasis strong code

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_83() { let original = r##" | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | | foo | bar | |-----|------| | baz | alef | "##; let expected = r##"
foobar
bazalef
foobar
bazalef
foobar
bazalef
foobar
bazalef
foobar
bazalef
foobar
bazalef
foobar
bazalef
foobar
bazalef
| foo | bar  |
|-----|------|
| baz | alef |

| foo | bar | |-----|------| | baz | alef |

| foo | bar  |
|-----|------|
| baz | alef |

| foo | bar | |-----|------| | baz | alef |

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_84() { let original = r##"### ### "##; let expected = r##"

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_85() { let original = r##"### "##; let expected = r##"

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_86() { let original = r##" "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_87() { let original = r##"| A | table | | ------ | ---- | | not | in | | a | list| * A blockquote: > inside a list item * A Heading: # inside a list item * A table: | inside | a | | ------ | ------- | | list | item | | with | leading | | empty | lines | * A table: | inside | a | | ------- | ------- | | list | item | | without | leading | | empty | lines | "##; let expected = r##"
Atable
notin
alist
  • A blockquote:

    inside a list item

  • A Heading:

    inside a list item

  • A table:

    insidea
    listitem
    withleading
    emptylines
  • A table:

    insidea
    listitem
    withoutleading
    emptylines
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_88() { let original = r##"a\ b "##; let expected = r##"

a\

b

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_89() { let original = r##"a\ * b "##; let expected = r##"

a\

  • b
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_90() { let original = r##"a\ > b "##; let expected = r##"

a\

b

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_91() { let original = r##"a\ # b "##; let expected = r##"

a\

b

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_92() { let original = r##"a\ == "##; let expected = r##"

a\

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_93() { let original = r##"> a\ > "##; let expected = r##"

a\

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_94() { let original = r##"
"##; let expected = r##"

<a

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_95() { let original = r##"
"##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_96() { let original = r##" quote "##; let expected = r##"

<a

quote

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_97() { let original = r##"
not quote "##; let expected = r##"
not quote "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_98() { let original = r##"quote "##; let expected = r##"

<a

quote

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_99() { let original = r##"
not quote "##; let expected = r##"
not quote "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_100() { let original = r##"> alpha > | a | b | > |---|---| > | c | d | "##; let expected = r##"

alpha

ab
cd
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_101() { let original = r##"***R]*-* "##; let expected = r##"

*R]-

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_102() { let original = r##"****foo*bar*baz**** "##; let expected = r##"

foobarbaz**

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_103() { let original = r##"; * % "##; let expected = r##"

; * %

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_104() { let original = r##"; * % "##; let expected = r##"

; * %

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_105() { let original = r##"<@1> "##; let expected = r##"

<@1>

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_106() { let original = r##"--- anything: indented4Spaces: true --- Things "##; let expected = r##"

Things

"##; test_markdown_html(original, expected, false, true, false); } #[test] fn regression_test_107() { let original = r##"--- something: nested: twice: true --- Things "##; let expected = r##"

Things

"##; test_markdown_html(original, expected, false, true, false); } #[test] fn regression_test_108() { let original = r##"--- lists: - indented 4 spaces --- Things "##; let expected = r##"

Things

"##; test_markdown_html(original, expected, false, true, false); } #[test] fn regression_test_109() { let original = r##"- - - - "##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_110() { let original = r##"- - . "##; let expected = r##"
  • .

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_111() { let original = r##"j***5*=* "##; let expected = r##"

j*5=

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_112() { let original = r##"Not enough table | | Not enough table |x | Not enough table | |- Table |x |- Not enough table | col1 | col2 | | | ---- | Not enough table | col1 | col2 | | : | ---- | Table | col1 | col2 | | ---- | ---- | "##; let expected = r##"

Not enough table

| |

Not enough table

|x |

Not enough table

| |-

Table

x

Not enough table | col1 | col2 | | | ---- |

Not enough table | col1 | col2 | | : | ---- |

Table

col1col2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_113() { let original = r##"[x] is not a valid link definition, because parens aren't balanced. [x]: ( "##; let expected = r##"

[x] is not a valid link definition, because parens aren't balanced.

[x]: (

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_114() { let original = r##"Both of these two paragraphs are structurally the same, but the first one has an unmatched asterisk. _*_ *{*{ _x_ *{*{ "##; let expected = r##"

Both of these two paragraphs are structurally the same, but the first one has an unmatched asterisk.

* {{

x {{

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_115() { let original = r##"**a.*.**a*.**. "##; let expected = r##"

*a.*.a..

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_116() { let original = r##"_*__*_* _*xx*_* _*__-_- _*xx-_- "##; let expected = r##"

__*

xx*

*__--

*xx--

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_117() { let original = r##"- - - x - "##; let expected = r##"
-
  • x

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_118() { let original = r##"- - - x - "##; let expected = r##"
-
  • x

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_119() { let original = r##"[x\ ]: https://rust-lang.org "##; let expected = r##"

[x\

]: https://rust-lang.org

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_120() { let original = r##">>**#* > >**#* **#* |**#*| |----| |**#*| |**#* **#*| **#* "##; let expected = r##"

*#

*#

*#

*#
*#
*#
*#
*#
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_121() { let original = r##"The second hyphen should parse the same way in both samples. - >* - The second hyphen should parse the same way in both samples. - >x - "##; let expected = r##"

The second hyphen should parse the same way in both samples.

The second hyphen should parse the same way in both samples.

  • x

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_122() { let original = r##"> Rewriting it in [Rust] is usually a bad idea. > > [Rust]: https://rust-lang.org "##; let expected = r##"

Rewriting it in Rust is usually a bad idea.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_123() { let original = r##"[First try ---------- Second try]: https://rust-lang.org "##; let expected = r##"

[First try

Second try]: https://rust-lang.org

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_124() { let original = r##"[^foo][] [^foo][baz] [baz][^foo] [^foo]: bar [baz]: https://rust-lang.org "##; let expected = r##"

1[]

^foo

baz1

1

bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_125() { let original = r##"# foo \ bar \ "##; let expected = r##"

foo \

bar \

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_126() { let original = r##"[third try]: - [third try] "##; let expected = r##"

[third try]:

[third try]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_127() { let original = r##"- [foo]: test bar > [bar]: test [baz]: rstr [bar] "##; let expected = r##"
  • bar

bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_128() { let original = r##"> - [foo]: test > bar > > > [bar]: test > [baz]: rstr > [bar] "##; let expected = r##"
  • bar

bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_129() { let original = r##"[bar]: test - "##; let expected = r##"

-

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_130() { let original = r##"[link]( foo) > [link]( > foo) "##; let expected = r##"

link

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_131() { let original = r##"[link](foo ) > [link](foo > ) "##; let expected = r##"

link

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_132() { let original = r##"[link](foo "bar" ) > [link](foo > "bar" > ) "##; let expected = r##"

link

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_133() { let original = r##"[link]( foo "bar" ) > [link]( > foo > "bar" > ) "##; let expected = r##"

link

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_134() { let original = r##"[linkme]: foo - baz "##; let expected = r##"

- baz

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_135() { let original = r##"[linkme-3]: [^foo]: [linkme-4]: [^bar]: GFM footnotes can interrupt link defs if they have three spaces, but not four. "##; let expected = r##"

[linkme-3]:

1

GFM footnotes can interrupt link defs if they have three spaces, but not four.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_136() { let original = r##"[linkme-3]: === [linkme-4]: === Setext heading can interrupt link def if it has three spaces, but not four. "##; let expected = r##"

[linkme-3]:

Setext heading can interrupt link def if it has three spaces, but not four.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_137() { let original = r##"[linkme-3]: a - a [linkme-4]: a - b List can interrupt the paragraph at the start of a link definition if it starts with three spaces, but not four. "##; let expected = r##"
  • a

- b

List can interrupt the paragraph at the start of a link definition if it starts with three spaces, but not four.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_138() { let original = r##"[first - second]: https://example.com [first - second] "##; let expected = r##"

[first

second]: https://example.com

[first

second]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_139() { let original = r##"[first - second]: https://example.com [first - second] "##; let expected = r##"

first - second

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_140() { let original = r##"[first]: https://example.com " - " [first] "##; let expected = r##"

"

"

first

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_141() { let original = r##"[first]: https://example.com " - " [first] "##; let expected = r##"

first

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_142() { let original = r##"> [first]: https://example.com > " > - > " > > [first] "##; let expected = r##"

"

"

first

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_143() { let original = r##"> ``` > code > text "##; let expected = r##"
code

text

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_144() { let original = r##"> [first]: https://example.com > " > - > " > > [first] "##; let expected = r##"

first

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_145() { let original = r##"[first]: https://example.com " \ " [first] "##; let expected = r##"

first

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_146() { let original = r##"[first]: https://example.com " \ " [first] "##; let expected = r##"

" \

"

first

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_147() { let original = r##"[foo]: https://example.com '[foo]'bar "##; let expected = r##"

'foo'bar

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_148() { let original = r##"- [foo]: https://example.com '[foo]' [foo] "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_149() { let original = r##"[ a]: https://example.com [b ]: https://example.com [a] [b] "##; let expected = r##"

a b

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_150() { let original = r##"> > ``` > > code > > > text "##; let expected = r##"
code

text

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_151() { let original = r##"- *foo - - baz* "##; let expected = r##"
  • *foo
    baz*
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_152() { let original = r##"- `foo - - baz` "##; let expected = r##"
  • `foo
    baz`
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_153() { let original = r##"- [foo - - baz](https://example.com) "##; let expected = r##"
  • [foo
    baz](https://example.com)
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_154() { let original = r##"[mylink] [mylink]: https://example.com ' part of the title' "##; let expected = r##"

mylink

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_155() { let original = r##"1. pulldown-cmark used to think this was code, but commonmark.js and commonmark-hs didn't. The dot in the list marker is at column two, so the child paragraph actually starts in column *three*. "##; let expected = r##"
  1. pulldown-cmark used to think this was code, but commonmark.js and commonmark-hs didn't. The dot in the list marker is at column two, so the child paragraph actually starts in column three.
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_156() { let original = r##"1. This is not in the list at all. It's a paragraph after it. "##; let expected = r##"

This is not in the list at all. It's a paragraph after it.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_157() { let original = r##"`\!\"\#\$\%\& \!\"\#\$\%\& \!\"\#\$\%\&` "##; let expected = r##"

\!\&quot;\#\$\%\& \!\&quot;\#\$\%\& \!\&quot;\#\$\%\&

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_158() { let original = r##"| -|- * "##; let expected = r##"

| -|- *

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_159() { let original = r##" A paragraph is a paragraph and spaces must be removed. Another paragraph whose spaces must be removed. "##; let expected = r##"

A paragraph is a paragraph and spaces must be removed.

Another paragraph whose spaces must be removed.

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_160() { let original = r##"![^1] [^1]: foo "##; let expected = r##"

!1

1

foo

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_161() { let original = r##"First ![^1][] Second [^1]: foo "##; let expected = r##"

First !1[] Second

1

foo

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_162() { let original = r##"� � "##; let expected = r##"

&#00000000; &#x0000000;

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_163() { let original = r##"� "##; let expected = r##"

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_164() { let original = r##"- _t # test t_ "##; let expected = r##"
  • _t

    test

    t_
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_165() { let original = r##"* *_ # N* "##; let expected = r##"
  • *_

    N*
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_166() { let original = r##" "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_167() { let original = r##" "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_168() { let original = r##" "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_169() { let original = r##"* "##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_170() { let original = r##"* test "##; let expected = r##"
  • test

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_171() { let original = r##"*
"##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_172() { let original = r##"*
"##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_173() { let original = r##"*
"##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_174() { let original = r##"*
"##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_175() { let original = r##"*
"##; let expected = r##"
  • <div>
    
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_176() { let original = r##"[link]: test (() [link] "##; let expected = r##"

[link]: test (()

[link]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_177() { let original = r##"[link]: test (()) [link] "##; let expected = r##"

[link]: test (())

[link]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_178() { let original = r##"[link]: test (\(\)) [link] "##; let expected = r##"

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_179() { let original = r##"[link]: test """ [link] "##; let expected = r##"

[link]: test """

[link]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_180() { let original = r##"[link]: test "\"" [link] "##; let expected = r##"

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_181() { let original = r##"[link]: test ''' [link] "##; let expected = r##"

[link]: test '''

[link]

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_182() { let original = r##"[link]: test '\'' [link] "##; let expected = r##"

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_183() { let original = r##"- test test2 "##; let expected = r##"
  • test
    

    test2

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_184() { let original = r##" test test2 "##; let expected = r##"
test

test2

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_185() { let original = r##"- test test2 "##; let expected = r##"
  • test
    
    test2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_186() { let original = r##"- test - test2 "##; let expected = r##"
  • test
    
  • test2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_187() { let original = r##"- test - test2 "##; let expected = r##"
  • test
    
  • test2

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_188() { let original = r##" <\!p> "##; let expected = r##"

<!p>

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_189() { let original = r##"[linky] [linky]: ((())) "##; let expected = r##"

linky

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_190() { let original = r##">junk "##; let expected = r##"

<span title junk

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_191() { let original = r##" ~~~ ~~~ "##; let expected = r##"
   ~~~
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_192() { let original = r##" ~~~ ~~~ "##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_193() { let original = r##"[link]: destination " text " [link] "##; let expected = r##"

link

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_194() { let original = r##"* _ _** ___ ^_ "##; let expected = r##"
  • _ _**
    ^_
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_195() { let original = r##"> [!Note] > - Foo "##; let expected = r##"
  • Foo
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_196() { let original = r##" --- -- --- "##; let expected = r##"

--

"##; test_markdown_html(original, expected, false, true, false); } #[test] fn regression_test_197() { let original = r##"[30](https://rust.org/something%3A((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))) [40](https://rust.org/something%3A((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))) "##; let expected = r##"

30 [40](https://rust.org/something%3A((((((((((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))))))))))

"##; test_markdown_html(original, expected, false, true, false); } #[test] fn regression_test_198() { let original = r##"- [x] \ - "##; let expected = r##"

\

"##; test_markdown_html(original, expected, false, true, false); } #[test] fn regression_test_199() { let original = r##"* [ ] --- bar "##; let expected = r##"

bar

"##; test_markdown_html(original, expected, false, true, false); } #[test] fn regression_test_200() { let original = r##"` ` "##; let expected = r##"

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_201() { let original = r##"* def this : def text def text "##; let expected = r##"
  • def this
    def text def text
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_202() { let original = r##"* def this : def text def text "##; let expected = r##"
  • def this

    def text def text

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_203() { let original = r##"**A:** > B C > I J :x: K > :x: L M > N O _P_ Q R. (S > T U, V W > :x:,:x:,:x:, and :x: but no :x: or > :x:.) "##; let expected = r##"

A:

B C I J :x: K
x: L M N O P Q R. (S T U, V W
x:,:x:,:x:, and :x: but no :x: or
x:.)
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_204() { let original = r##"[abc] check `foobar_raz` Some preamble `foobar_raz`, not `barfoo_raz` :D This should fix: > Something is wrong! "##; let expected = r##"
[abc] check foobar_raz Some preamble foobar_raz, not barfoo_raz
D

This should fix:

> Something is wrong!

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_205() { let original = r##"- Item definition [it ```rust ``` stuff](https://example.com) "##; let expected = r##"
  • Item definition [it
    stuff](https://example.com)
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_206() { let original = r##"foo {.class} === > foo > {.class} > === > > > foo > > {.class} > > === * > foo > {.class} > === > foo > {.class} > === "##; let expected = r##"

foo

foo

foo

  • foo

foo

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_207() { let original = r##"the trailing space after the > should be stripped > {.bar} === "##; let expected = r##"

the trailing space after the > should be stripped >

"##; test_markdown_html(original, expected, false, false, false); }