!! options version=2 parsoid-compatible=wt2html,wt2wt !! end !! test pre-save transform: comment containing math !! options pst !! wikitext !! html !!end !! test Math on a line with a div stays in the paragraph (T429711) !! wikitext foo x
bar
baz !! html/php

foo x

bar

baz

!! html/parsoid

foo x

bar

baz

!! end !! test Math on a line with a div stays in the paragraph (block version) (T429711) !! wikitext foo x
bar
baz !! html/php

foo x

bar

baz

!! html/parsoid

foo x

bar

baz

!! end !! test Math on a line with a div stays in the paragraph (blockquote version) (T429711) !! wikitext
Prop A implies B too.
!! html/php

Prop A implies B too.

!! html/parsoid

Prop A implies B too.

!! end !! test Math in a heading leaves no strip marker in the anchor !! options parsoid=wt2html !! wikitext == a x == !! html/php

a x

[edit]
!! end !! test Math in an invisible image caption leaves no strip marker in title and alt (T440110) !! options parsoid=wt2html !! wikitext [[File:Foobar.jpg|100px|x]] !! html/php

x

!! end