use mini_markdown::render; #[test] fn commonmark_test_350_emphasis_and_strong_emphasis() { let test_html = render("*foo bar*\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_351_emphasis_and_strong_emphasis() { let test_html = render("a * foo bar*\n"); let reference_html = "

a * foo bar*

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_352_emphasis_and_strong_emphasis() { let test_html = render("a*\"foo\"*\n"); let reference_html = "

a*"foo"*

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_353_emphasis_and_strong_emphasis() { let test_html = render("* a *\n"); let reference_html = "

* a *

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_354_emphasis_and_strong_emphasis() { let test_html = render("foo*bar*\n"); let reference_html = "

foobar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_355_emphasis_and_strong_emphasis() { let test_html = render("5*6*78\n"); let reference_html = "

5678

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_356_emphasis_and_strong_emphasis() { let test_html = render("_foo bar_\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_357_emphasis_and_strong_emphasis() { let test_html = render("_ foo bar_\n"); let reference_html = "

_ foo bar_

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_358_emphasis_and_strong_emphasis() { let test_html = render("a_\"foo\"_\n"); let reference_html = "

a_"foo"_

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_359_emphasis_and_strong_emphasis() { let test_html = render("foo_bar_\n"); let reference_html = "

foo_bar_

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_360_emphasis_and_strong_emphasis() { let test_html = render("5_6_78\n"); let reference_html = "

5_6_78

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_361_emphasis_and_strong_emphasis() { let test_html = render("пристаням_стремятся_\n"); let reference_html = "

пристаням_стремятся_

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_362_emphasis_and_strong_emphasis() { let test_html = render("aa_\"bb\"_cc\n"); let reference_html = "

aa_"bb"_cc

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_363_emphasis_and_strong_emphasis() { let test_html = render("foo-_(bar)_\n"); let reference_html = "

foo-(bar)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_364_emphasis_and_strong_emphasis() { let test_html = render("_foo*\n"); let reference_html = "

_foo*

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_365_emphasis_and_strong_emphasis() { let test_html = render("*foo bar *\n"); let reference_html = "

*foo bar *

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_366_emphasis_and_strong_emphasis() { let test_html = render("*foo bar\n*\n"); let reference_html = "

*foo bar\n*

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_367_emphasis_and_strong_emphasis() { let test_html = render("*(*foo)\n"); let reference_html = "

*(*foo)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_368_emphasis_and_strong_emphasis() { let test_html = render("*(*foo*)*\n"); let reference_html = "

(foo)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_369_emphasis_and_strong_emphasis() { let test_html = render("*foo*bar\n"); let reference_html = "

foobar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_370_emphasis_and_strong_emphasis() { let test_html = render("_foo bar _\n"); let reference_html = "

_foo bar _

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_371_emphasis_and_strong_emphasis() { let test_html = render("_(_foo)\n"); let reference_html = "

_(_foo)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_372_emphasis_and_strong_emphasis() { let test_html = render("_(_foo_)_\n"); let reference_html = "

(foo)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_373_emphasis_and_strong_emphasis() { let test_html = render("_foo_bar\n"); let reference_html = "

_foo_bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_374_emphasis_and_strong_emphasis() { let test_html = render("_пристаням_стремятся\n"); let reference_html = "

_пристаням_стремятся

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_375_emphasis_and_strong_emphasis() { let test_html = render("_foo_bar_baz_\n"); let reference_html = "

foo_bar_baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_376_emphasis_and_strong_emphasis() { let test_html = render("_(bar)_.\n"); let reference_html = "

(bar).

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_377_emphasis_and_strong_emphasis() { let test_html = render("**foo bar**\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_378_emphasis_and_strong_emphasis() { let test_html = render("** foo bar**\n"); let reference_html = "

** foo bar**

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_379_emphasis_and_strong_emphasis() { let test_html = render("a**\"foo\"**\n"); let reference_html = "

a**"foo"**

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_380_emphasis_and_strong_emphasis() { let test_html = render("foo**bar**\n"); let reference_html = "

foobar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_381_emphasis_and_strong_emphasis() { let test_html = render("__foo bar__\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_382_emphasis_and_strong_emphasis() { let test_html = render("__ foo bar__\n"); let reference_html = "

__ foo bar__

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_383_emphasis_and_strong_emphasis() { let test_html = render("__\nfoo bar__\n"); let reference_html = "

__\nfoo bar__

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_384_emphasis_and_strong_emphasis() { let test_html = render("a__\"foo\"__\n"); let reference_html = "

a__"foo"__

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_385_emphasis_and_strong_emphasis() { let test_html = render("foo__bar__\n"); let reference_html = "

foo__bar__

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_386_emphasis_and_strong_emphasis() { let test_html = render("5__6__78\n"); let reference_html = "

5__6__78

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_387_emphasis_and_strong_emphasis() { let test_html = render("пристаням__стремятся__\n"); let reference_html = "

пристаням__стремятся__

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_388_emphasis_and_strong_emphasis() { let test_html = render("__foo, __bar__, baz__\n"); let reference_html = "

foo, bar, baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_389_emphasis_and_strong_emphasis() { let test_html = render("foo-__(bar)__\n"); let reference_html = "

foo-(bar)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_390_emphasis_and_strong_emphasis() { let test_html = render("**foo bar **\n"); let reference_html = "

**foo bar **

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_391_emphasis_and_strong_emphasis() { let test_html = render("**(**foo)\n"); let reference_html = "

**(**foo)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_392_emphasis_and_strong_emphasis() { let test_html = render("*(**foo**)*\n"); let reference_html = "

(foo)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_393_emphasis_and_strong_emphasis() { let test_html = render("**Gomphocarpus (*Gomphocarpus physocarpus*, syn.\n*Asclepias physocarpa*)**\n"); let reference_html = "

Gomphocarpus (Gomphocarpus physocarpus, syn.\nAsclepias physocarpa)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_394_emphasis_and_strong_emphasis() { let test_html = render("**foo \"*bar*\" foo**\n"); let reference_html = "

foo "bar" foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_395_emphasis_and_strong_emphasis() { let test_html = render("**foo**bar\n"); let reference_html = "

foobar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_396_emphasis_and_strong_emphasis() { let test_html = render("__foo bar __\n"); let reference_html = "

__foo bar __

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_397_emphasis_and_strong_emphasis() { let test_html = render("__(__foo)\n"); let reference_html = "

__(__foo)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_398_emphasis_and_strong_emphasis() { let test_html = render("_(__foo__)_\n"); let reference_html = "

(foo)

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_399_emphasis_and_strong_emphasis() { let test_html = render("__foo__bar\n"); let reference_html = "

__foo__bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_400_emphasis_and_strong_emphasis() { let test_html = render("__пристаням__стремятся\n"); let reference_html = "

__пристаням__стремятся

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_401_emphasis_and_strong_emphasis() { let test_html = render("__foo__bar__baz__\n"); let reference_html = "

foo__bar__baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_402_emphasis_and_strong_emphasis() { let test_html = render("__(bar)__.\n"); let reference_html = "

(bar).

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_403_emphasis_and_strong_emphasis() { let test_html = render("*foo [bar](/url)*\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_404_emphasis_and_strong_emphasis() { let test_html = render("*foo\nbar*\n"); let reference_html = "

foo\nbar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_405_emphasis_and_strong_emphasis() { let test_html = render("_foo __bar__ baz_\n"); let reference_html = "

foo bar baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_406_emphasis_and_strong_emphasis() { let test_html = render("_foo _bar_ baz_\n"); let reference_html = "

foo bar baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_407_emphasis_and_strong_emphasis() { let test_html = render("__foo_ bar_\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_408_emphasis_and_strong_emphasis() { let test_html = render("*foo *bar**\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_409_emphasis_and_strong_emphasis() { let test_html = render("*foo **bar** baz*\n"); let reference_html = "

foo bar baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_410_emphasis_and_strong_emphasis() { let test_html = render("*foo**bar**baz*\n"); let reference_html = "

foobarbaz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_411_emphasis_and_strong_emphasis() { let test_html = render("*foo**bar*\n"); let reference_html = "

foo**bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_412_emphasis_and_strong_emphasis() { let test_html = render("***foo** bar*\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_413_emphasis_and_strong_emphasis() { let test_html = render("*foo **bar***\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_414_emphasis_and_strong_emphasis() { let test_html = render("*foo**bar***\n"); let reference_html = "

foobar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_415_emphasis_and_strong_emphasis() { let test_html = render("foo***bar***baz\n"); let reference_html = "

foobarbaz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_416_emphasis_and_strong_emphasis() { let test_html = render("foo******bar*********baz\n"); let reference_html = "

foobar***baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_417_emphasis_and_strong_emphasis() { let test_html = render("*foo **bar *baz* bim** bop*\n"); let reference_html = "

foo bar baz bim bop

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_418_emphasis_and_strong_emphasis() { let test_html = render("*foo [*bar*](/url)*\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_419_emphasis_and_strong_emphasis() { let test_html = render("** is not an empty emphasis\n"); let reference_html = "

** is not an empty emphasis

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_420_emphasis_and_strong_emphasis() { let test_html = render("**** is not an empty strong emphasis\n"); let reference_html = "

**** is not an empty strong emphasis

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_421_emphasis_and_strong_emphasis() { let test_html = render("**foo [bar](/url)**\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_422_emphasis_and_strong_emphasis() { let test_html = render("**foo\nbar**\n"); let reference_html = "

foo\nbar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_423_emphasis_and_strong_emphasis() { let test_html = render("__foo _bar_ baz__\n"); let reference_html = "

foo bar baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_424_emphasis_and_strong_emphasis() { let test_html = render("__foo __bar__ baz__\n"); let reference_html = "

foo bar baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_425_emphasis_and_strong_emphasis() { let test_html = render("____foo__ bar__\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_426_emphasis_and_strong_emphasis() { let test_html = render("**foo **bar****\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_427_emphasis_and_strong_emphasis() { let test_html = render("**foo *bar* baz**\n"); let reference_html = "

foo bar baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_428_emphasis_and_strong_emphasis() { let test_html = render("**foo*bar*baz**\n"); let reference_html = "

foobarbaz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_429_emphasis_and_strong_emphasis() { let test_html = render("***foo* bar**\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_430_emphasis_and_strong_emphasis() { let test_html = render("**foo *bar***\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_431_emphasis_and_strong_emphasis() { let test_html = render("**foo *bar **baz**\nbim* bop**\n"); let reference_html = "

foo bar baz\nbim bop

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_432_emphasis_and_strong_emphasis() { let test_html = render("**foo [*bar*](/url)**\n"); let reference_html = "

foo bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_433_emphasis_and_strong_emphasis() { let test_html = render("__ is not an empty emphasis\n"); let reference_html = "

__ is not an empty emphasis

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_434_emphasis_and_strong_emphasis() { let test_html = render("____ is not an empty strong emphasis\n"); let reference_html = "

____ is not an empty strong emphasis

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_435_emphasis_and_strong_emphasis() { let test_html = render("foo ***\n"); let reference_html = "

foo ***

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_436_emphasis_and_strong_emphasis() { let test_html = render("foo *\\**\n"); let reference_html = "

foo *

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_437_emphasis_and_strong_emphasis() { let test_html = render("foo *_*\n"); let reference_html = "

foo _

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_438_emphasis_and_strong_emphasis() { let test_html = render("foo *****\n"); let reference_html = "

foo *****

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_439_emphasis_and_strong_emphasis() { let test_html = render("foo **\\***\n"); let reference_html = "

foo *

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_440_emphasis_and_strong_emphasis() { let test_html = render("foo **_**\n"); let reference_html = "

foo _

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_441_emphasis_and_strong_emphasis() { let test_html = render("**foo*\n"); let reference_html = "

*foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_442_emphasis_and_strong_emphasis() { let test_html = render("*foo**\n"); let reference_html = "

foo*

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_443_emphasis_and_strong_emphasis() { let test_html = render("***foo**\n"); let reference_html = "

*foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_444_emphasis_and_strong_emphasis() { let test_html = render("****foo*\n"); let reference_html = "

***foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_445_emphasis_and_strong_emphasis() { let test_html = render("**foo***\n"); let reference_html = "

foo*

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_446_emphasis_and_strong_emphasis() { let test_html = render("*foo****\n"); let reference_html = "

foo***

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_447_emphasis_and_strong_emphasis() { let test_html = render("foo ___\n"); let reference_html = "

foo ___

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_448_emphasis_and_strong_emphasis() { let test_html = render("foo _\\__\n"); let reference_html = "

foo _

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_449_emphasis_and_strong_emphasis() { let test_html = render("foo _*_\n"); let reference_html = "

foo *

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_450_emphasis_and_strong_emphasis() { let test_html = render("foo _____\n"); let reference_html = "

foo _____

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_451_emphasis_and_strong_emphasis() { let test_html = render("foo __\\___\n"); let reference_html = "

foo _

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_452_emphasis_and_strong_emphasis() { let test_html = render("foo __*__\n"); let reference_html = "

foo *

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_453_emphasis_and_strong_emphasis() { let test_html = render("__foo_\n"); let reference_html = "

_foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_454_emphasis_and_strong_emphasis() { let test_html = render("_foo__\n"); let reference_html = "

foo_

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_455_emphasis_and_strong_emphasis() { let test_html = render("___foo__\n"); let reference_html = "

_foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_456_emphasis_and_strong_emphasis() { let test_html = render("____foo_\n"); let reference_html = "

___foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_457_emphasis_and_strong_emphasis() { let test_html = render("__foo___\n"); let reference_html = "

foo_

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_458_emphasis_and_strong_emphasis() { let test_html = render("_foo____\n"); let reference_html = "

foo___

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_459_emphasis_and_strong_emphasis() { let test_html = render("**foo**\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_460_emphasis_and_strong_emphasis() { let test_html = render("*_foo_*\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_461_emphasis_and_strong_emphasis() { let test_html = render("__foo__\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_462_emphasis_and_strong_emphasis() { let test_html = render("_*foo*_\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_463_emphasis_and_strong_emphasis() { let test_html = render("****foo****\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_464_emphasis_and_strong_emphasis() { let test_html = render("____foo____\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_465_emphasis_and_strong_emphasis() { let test_html = render("******foo******\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_466_emphasis_and_strong_emphasis() { let test_html = render("***foo***\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_467_emphasis_and_strong_emphasis() { let test_html = render("_____foo_____\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_468_emphasis_and_strong_emphasis() { let test_html = render("*foo _bar* baz_\n"); let reference_html = "

foo _bar baz_

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_469_emphasis_and_strong_emphasis() { let test_html = render("*foo __bar *baz bim__ bam*\n"); let reference_html = "

foo bar *baz bim bam

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_470_emphasis_and_strong_emphasis() { let test_html = render("**foo **bar baz**\n"); let reference_html = "

**foo bar baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_471_emphasis_and_strong_emphasis() { let test_html = render("*foo *bar baz*\n"); let reference_html = "

*foo bar baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_472_emphasis_and_strong_emphasis() { let test_html = render("*[bar*](/url)\n"); let reference_html = "

*bar*

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_473_emphasis_and_strong_emphasis() { let test_html = render("_foo [bar_](/url)\n"); let reference_html = "

_foo bar_

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_474_emphasis_and_strong_emphasis() { let test_html = render("*\n"); let reference_html = "

*

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_475_emphasis_and_strong_emphasis() { let test_html = render("**\n"); let reference_html = "

**

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_476_emphasis_and_strong_emphasis() { let test_html = render("__\n"); let reference_html = "

__

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_477_emphasis_and_strong_emphasis() { let test_html = render("*a `*`*\n"); let reference_html = "

a *

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_478_emphasis_and_strong_emphasis() { let test_html = render("_a `_`_\n"); let reference_html = "

a _

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_479_emphasis_and_strong_emphasis() { let test_html = render("**a\n"); let reference_html = "

**ahttp://foo.bar/?q=**

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_480_emphasis_and_strong_emphasis() { let test_html = render("__a\n"); let reference_html = "

__ahttp://foo.bar/?q=__

\n"; assert_eq!(test_html, reference_html); }