// 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##" This is a test of the details element.Testing 1..2..3..
This is a test of the details element.
Testing 1..2..3..
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##" "##; 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 A | Title B |
---|---|
Content | Content |
Title A | Title B | Title C | Title D |
---|---|---|---|
Content | Content | Conent | Content |
foo§(bar)
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_6() { let original = 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##" "##; 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##"foo (u8, u8)
make something
bar (u16, u16)
make something
[a]
[a]: /url (title))
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_13() { let original = r##"a "##; let expected = r##"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
\foo
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##"foo | bar |
---|---|
foo | bar |
foo | bar\ |
---|---|
foo | bar |
Markdown | Less | Pretty |
---|
some text
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_31() { let original = r##"1. > foo 2. > "##; let expected = r##"foo
[ 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##""##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_35() { let original = r##"> foo | bar > --- | --- yolo | swag "##; let expected = r##"
foo bar
yolo | swag
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_36() { let original = 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##"
\|
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##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_43() { let original = r##"foo | bar --- | --- [a](< | url>) "##; let expected = r##"foo | bar |
---|---|
[a](< | url>) |
[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##"<http:// >
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_48() { let original = r##"<http://>
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_49() { let original = r##"foo | bar --- | ---foo | bar |
---|---|
<http:// | > |
*hi_
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_52() { let original = r##"email: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##""##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_54() { let original = r##"> [foo > bar]: /url > > [foo bar] "##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_55() { let original = r##"> [foo bar]: /url > > [foo > bar] "##; let expected = r##"
"##; 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##"
"##; 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##" "##; 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##""##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_60() { let original = r##"> `cargo > package` "##; let expected = r##"
"##; 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##"
cargo package
"##; 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##"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.
Lorem ipsum.1
An unordered list before the footnotes:
Cool.
A list.
A sublist.
Another sublist.
A list.
A sublist.
Another sublist.
"##; 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##"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##"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##"[]
]
foobar
foobar
emphasis strike strong strike emphasis strong
emphasis strike strong strike emphasis strong code
emphasis strike code
strike emphasis strong
emphasis strike code
strike emphasis strong code
strong strike emphasis strike emphasis strong
strong strike emphasis strike emphasis strong code
strong strike code
strike emphasis strong
strong strike code
strike emphasis strong code
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 |
"##; 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##"A | table |
---|---|
not | in |
a | list |
A blockquote:
inside a list item
A Heading:
A table:
inside | a |
---|---|
list | item |
with | leading |
empty | lines |
A table:
inside | a |
---|---|
list | item |
without | leading |
empty | lines |
a\
b
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_89() { let original = r##"a\ * b "##; let expected = r##"a\
a\
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_91() { let original = r##"a\ # b "##; let expected = r##"b
a\
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_94() { let original = r##" "##; let expected = r##"a\
<a
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_95() { let original = r##"<a
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_97() { let original = r##"quote
<a
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_99() { let original = r##"quote
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_101() { let original = r##"***R]*-* "##; let expected = r##"alpha
a b c d
*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##".
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
col1 | col2 |
---|
[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
-
x
[x\
]: https://rust-lang.org
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_120() { let original = r##">>**#* > >**#* **#* |**#*| |----| |**#*| |**#* **#*| **#* "##; 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_123() { let original = r##"[First try ---------- Second try]: https://rust-lang.org "##; let expected = r##"Rewriting it in Rust is usually a bad idea.
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[]
bar
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]
"##; 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##""##; 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##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_129() { let original = r##"[bar]: test - "##; let expected = r##"
- bar
-
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_130() { let original = r##"[link]( foo) > [link]( > foo) "##; let expected = r##""##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_131() { let original = r##"[link](foo ) > [link](foo > ) "##; let expected = r##"
"##; 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##"
"##; 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##"
"##; 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]:
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##"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##"- 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##"second]: https://example.com
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##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_140() { let original = r##"[first]: https://example.com " - " [first] "##; let expected = r##""
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_141() { let original = r##"[first]: https://example.com " - " [first] "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_142() { let original = r##"> [first]: https://example.com > " > - > " > > [first] "##; let expected = r##""##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_143() { let original = r##"> ``` > code > text "##; let expected = r##""
"
code
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_144() { let original = r##"> [first]: https://example.com > " > - > " > > [first] "##; let expected = r##"text
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_145() { let original = r##"[first]: https://example.com " \ " [first] "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_146() { let original = r##"[first]: https://example.com " \ " [first] "##; let expected = r##"
" \
"
"##; 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##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_150() { let original = r##"> > ``` > > code > > > text "##; let expected = r##""##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_151() { let original = r##"- *foo - - baz* "##; let expected = r##"code
text
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##"\!\"\#\$\%\& \!\"\#\$\%\& \!\"\#\$\%\&
| -|- *
"##; 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
foo
First !1[] Second
foo
� �
"##; 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##"test
<div>
[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##" "##; 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##" "##; 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##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_183() { let original = r##"- test test2 "##; let expected = r##"test
test2
test
test2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_185() { let original = r##"- test test2 "##; let expected = r##"test
test2test
test
test2
<!p>
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_189() { let original = r##"[linky] [linky]: ((())) "##; let expected = r##" "##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_190() { let original = r##">junk "##; let expected = r##""##; test_markdown_html(original, expected, false, false, false); } #[test] fn regression_test_191() { let original = r##" ~~~ ~~~ "##; let expected = r##"<span title junk
~~~
"##;
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##"
"##;
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_196() { let original = r##" --- -- --- "##; let expected = r##"
- Foo
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##"bar
"##; test_markdown_html(original, expected, false, true, false); } #[test] fn regression_test_200() { let original = r##"` ` "##; let expected = r##"
def text def text
A:
"##; 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##"
- 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:.)
foobar_raz
Some preamble foobar_raz
, not barfoo_raz
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##"
stuff](https://example.com)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##"foo