var browserTests = [
["foo[]bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[]bar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[]bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[]bar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[]bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[]bar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[]bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[]bar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span>foo</span>{}<span>bar</span><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><span>foo</span>{}<span>bar</span></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span>foo</span>{}<span>bar</span><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><span>foo</span>{}<span>bar</span></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span>foo</span>{}<span>bar</span><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><span>foo</span>{}<span>bar</span></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span>foo</span>{}<span>bar</span><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><span>foo</span>{}<span>bar</span></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span>foo[</span><span>]bar</span><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><span>foo[</span><span>]bar</span></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span>foo[</span><span>]bar</span><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><span>foo[</span><span>]bar</span></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span>foo[</span><span>]bar</span><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><span>foo[</span><span>]bar</span></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span>foo[</span><span>]bar</span><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><span>foo[</span><span>]bar</span></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[bar]baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[bar]baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[bar]baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[bar]baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[bar]baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[bar]baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[bar]baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[bar]baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[bar<b>baz]qoz</b>quz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[bar<b>baz]qoz</b>quz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[bar<b>baz]qoz</b>quz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[bar<b>baz]qoz</b>quz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[bar<b>baz]qoz</b>quz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[bar<b>baz]qoz</b>quz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[bar<b>baz]qoz</b>quz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo[bar<b>baz]qoz</b>quz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>foo[]bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo[]bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>foo[]bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo[]bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>foo[]bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo[]bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>foo[]bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo[]bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>foo[bar]baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo[bar]baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>foo[bar]baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo[bar]baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>foo[bar]baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo[bar]baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>foo[bar]baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo[bar]baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<h1>foo[bar]baz</h1><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><h1>foo[bar]baz</h1></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<h1>foo[bar]baz</h1><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><h1>foo[bar]baz</h1></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<h1>foo[bar]baz</h1><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><h1>foo[bar]baz</h1></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<h1>foo[bar]baz</h1><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><h1>foo[bar]baz</h1></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<pre>foo[bar]baz</pre><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><pre>foo[bar]baz</pre></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<pre>foo[bar]baz</pre><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><pre>foo[bar]baz</pre></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<pre>foo[bar]baz</pre><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><pre>foo[bar]baz</pre></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<pre>foo[bar]baz</pre><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><pre>foo[bar]baz</pre></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<xmp>foo[bar]baz</xmp><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><xmp>foo[bar]baz</xmp></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<xmp>foo[bar]baz</xmp><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><xmp>foo[bar]baz</xmp></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<xmp>foo[bar]baz</xmp><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><xmp>foo[bar]baz</xmp></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<xmp>foo[bar]baz</xmp><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><xmp>foo[bar]baz</xmp></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>[foo]<p>bar</center><p>extra",
    [["justifycenter",""]],
    "<center><p>[foo]</p><p>bar</p></center><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<center><p>[foo<p>bar]</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<center><p>[foo<p>bar]</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<center><p>[foo<p>bar]</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<center><p>[foo<p>bar]</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table><tbody><tr><td>foo</td><td><div style=\"text-align:center\">b[a]r</div></td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table><tbody><tr><td>foo</td><td><div style=\"text-align:center\">b[a]r</div></td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table><tbody><tr><td>foo</td><td><div style=\"text-align:center\">b[a]r</div></td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table><tbody><tr><td>foo</td><td><div style=\"text-align:center\">b[a]r</div></td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table><tbody><tr><td>foo</td>{<td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table><tbody><tr><td>foo</td>{<td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table><tbody><tr><td>foo</td>{<td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table><tbody><tr><td>foo</td>{<td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table><tbody><tr>{<td><div style=\"text-align:center\">foo</div></td><td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table><tbody><tr>{<td><div style=\"text-align:center\">foo</div></td><td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table><tbody><tr>{<td><div style=\"text-align:center\">foo</div></td><td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table><tbody><tr>{<td><div style=\"text-align:center\">foo</div></td><td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr><td>foo</td><td><div style=\"text-align:center\">b[a]r</div></td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr><td>foo</td><td><div style=\"text-align:center\">b[a]r</div></td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr><td>foo</td><td><div style=\"text-align:center\">b[a]r</div></td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr><td>foo</td><td><div style=\"text-align:center\">b[a]r</div></td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr><td>foo</td>{<td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr><td>foo</td>{<td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr><td>foo</td>{<td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr><td>foo</td>{<td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr>{<td><div style=\"text-align:center\">foo</div></td><td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr>{<td><div style=\"text-align:center\">foo</div></td><td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr>{<td><div style=\"text-align:center\">foo</div></td><td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<table align=\"center\"><tbody><tr>{<td><div style=\"text-align:center\">foo</div></td><td><div style=\"text-align:center\">bar</div></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table align=center data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["{<table align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<table><tbody align=center><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["justifycenter",""]],
    "<table><tbody align=\"center\"><tr><td>foo</td><td>b[a]r</td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody align=center><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["justifycenter",""]],
    "<table><tbody align=\"center\"><tr><td>foo</td>{<td>bar</td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody align=center><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["justifycenter",""]],
    "<table><tbody align=\"center\"><tr>{<td>foo</td><td>bar</td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody align=center data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody align=center><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["{<table><tbody align=center><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody><tr align=center><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["justifycenter",""]],
    "<table><tbody><tr align=\"center\"><td>foo</td><td>b[a]r</td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody><tr align=center data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["justifycenter",""]],
    "<table><tbody><tr align=\"center\"><td>foo</td>{<td>bar</td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody><tr align=center data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["justifycenter",""]],
    "<table><tbody><tr align=\"center\">{<td>foo</td><td>bar</td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table><tbody data-start=0 data-end=1><tr align=center><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<table data-start=0 data-end=1><tbody><tr align=center><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["{<table><tr align=center><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=center><p>[foo]<p>bar</div><p>extra",
    [["justifycenter",""]],
    "<div align=\"center\"><p>[foo]</p><p>bar</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=center><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","true"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=center><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","false"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div style=text-align:center><p>[foo]<p>bar</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p><p>bar</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<div style=text-align:center><p>[foo<p>bar]</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=justify><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"justify\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div align=justify><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"justify\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div align=justify><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"justify\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div align=justify><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"justify\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div align=justify><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","true"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div align=justify><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","false"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div style=text-align:justify><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:justify\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div style=text-align:justify><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:justify\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div style=text-align:justify><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:justify\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div style=text-align:justify><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:justify\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div style=text-align:justify><p>[foo<p>bar]</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"justify",false,true,"center"]}],
["<div align=left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"left\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"left\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"left\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"left\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=left><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","true"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=left><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","false"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:left\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:left\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:left\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:left\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:left><p>[foo<p>bar]</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"right\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div align=right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"right\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div align=right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"right\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div align=right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"right\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div align=right><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","true"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div align=right><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","false"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div style=text-align:right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:right\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div style=text-align:right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:right\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div style=text-align:right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:right\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div style=text-align:right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:right\"><div style=\"text-align:center\"><p>[foo]</p></div><p>bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div style=text-align:right><p>[foo<p>bar]</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"right",false,true,"center"]}],
["<center>foo</center>[bar]<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<center>foo</center><div style=\"text-align:center\">[bar]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center>foo</center>[bar]<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<center>foo</center><div style=\"text-align:center\">[bar]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center>foo</center>[bar]<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<center>foo</center><div style=\"text-align:center\">[bar]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center>foo</center>[bar]<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<center>foo</center><div style=\"text-align:center\">[bar]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["[foo]<center>bar</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]</div><center>bar</center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["[foo]<center>bar</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]</div><center>bar</center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["[foo]<center>bar</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]</div><center>bar</center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["[foo]<center>bar</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]</div><center>bar</center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center>foo</center>[bar]<center>baz</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<center>foo</center><div style=\"text-align:center\">[bar]</div><center>baz</center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center>foo</center>[bar]<center>baz</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<center>foo</center><div style=\"text-align:center\">[bar]</div><center>baz</center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center>foo</center>[bar]<center>baz</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<center>foo</center><div style=\"text-align:center\">[bar]</div><center>baz</center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center>foo</center>[bar]<center>baz</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<center>foo</center><div style=\"text-align:center\">[bar]</div><center>baz</center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>foo</div>[bar]<p>extra",
    [["justifycenter",""]],
    "<div align=\"center\">foo<br>[bar]</div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["[foo]<div align=center>bar</div><p>extra",
    [["justifycenter",""]],
    "<div align=\"center\">[foo]<br>bar</div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>foo</div>[bar]<div align=center>baz</div><p>extra",
    [["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"center\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>foo</div>[bar]<div align=center>baz</div><p>extra",
    [["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"center\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center><p>foo</div><p>[bar]<p>extra",
    [["justifycenter",""]],
    "<div align=\"center\"><p>foo</p><p>[bar]</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]<div align=center><p>bar</div><p>extra",
    [["justifycenter",""]],
    "<div align=\"center\"><p>[foo]</p><p>bar</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center><p>foo</div><p>[bar]<div align=center><p>baz</div><p>extra",
    [["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"center\"><p>foo</p><p>[bar]</p><p>baz</p></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center><p>foo</div><p>[bar]<div align=center><p>baz</div><p>extra",
    [["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"center\"><p>foo</p><p>[bar]</p><p>baz</p></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center>foo</div>[bar]<p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\">foo<br>[bar]</div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["[foo]<div style=text-align:center>bar</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]<br>bar</div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center>foo</div>[bar]<div style=text-align:center>baz</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center>foo</div>[bar]<div style=text-align:center>baz</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center>foo</div>[bar]<div style=text-align:center>baz</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center>foo</div>[bar]<div style=text-align:center>baz</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div><p>[bar]<p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p><p>[bar]</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]<div style=text-align:center><p>bar</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p><p>bar</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div><p>[bar]<div style=text-align:center><p>baz</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p><p>[bar]</p><p>baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div><p>[bar]<div style=text-align:center><p>baz</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p><p>[bar]</p><p>baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div><p>[bar]<div style=text-align:center><p>baz</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p><p>[bar]</p><p>baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div><p>[bar]<div style=text-align:center><p>baz</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p><p>[bar]</p><p>baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p align=center>foo<p>[bar]<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<p align=\"center\">foo</p><div style=\"text-align:center\"><p>[bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p align=center>foo<p>[bar]<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<p align=\"center\">foo</p><div style=\"text-align:center\"><p>[bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p align=center>foo<p>[bar]<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<p align=\"center\">foo</p><div style=\"text-align:center\"><p>[bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p align=center>foo<p>[bar]<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<p align=\"center\">foo</p><div style=\"text-align:center\"><p>[bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]<p align=center>bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p></div><p align=\"center\">bar</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]<p align=center>bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p></div><p align=\"center\">bar</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]<p align=center>bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p></div><p align=\"center\">bar</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]<p align=center>bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p></div><p align=\"center\">bar</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p align=center>foo<p>[bar]<p align=center>baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<p align=\"center\">foo</p><div style=\"text-align:center\"><p>[bar]</p></div><p align=\"center\">baz</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p align=center>foo<p>[bar]<p align=center>baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<p align=\"center\">foo</p><div style=\"text-align:center\"><p>[bar]</p></div><p align=\"center\">baz</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p align=center>foo<p>[bar]<p align=center>baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<p align=\"center\">foo</p><div style=\"text-align:center\"><p>[bar]</p></div><p align=\"center\">baz</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p align=center>foo<p>[bar]<p align=center>baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<p align=\"center\">foo</p><div style=\"text-align:center\"><p>[bar]</p></div><p align=\"center\">baz</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center>[foo</center>bar]<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo<br>bar]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<center>[foo</center>bar]<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo<br>bar]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<center>[foo</center>bar]<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo<br>bar]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<center>[foo</center>bar]<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo<br>bar]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<center>fo[o</center>b]ar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">fo[o<br>b]ar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<center>fo[o</center>b]ar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">fo[o<br>b]ar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<center>fo[o</center>b]ar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">fo[o<br>b]ar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<center>fo[o</center>b]ar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">fo[o<br>b]ar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=center>[foo</div>bar]<p>extra",
    [["stylewithcss","true"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo<br>bar]</div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=center>[foo</div>bar]<p>extra",
    [["stylewithcss","false"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo<br>bar]</div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=center>fo[o</div>b]ar<p>extra",
    [["stylewithcss","true"],["justifycenter",""]],
    "<div style=\"text-align:center\">fo[o<br>b]ar</div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=center>fo[o</div>b]ar<p>extra",
    [["stylewithcss","false"],["justifycenter",""]],
    "<div style=\"text-align:center\">fo[o<br>b]ar</div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div style=text-align:center>[foo</div>bar]<p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\">[foo<br>bar]</div><p>extra</p>",
    [true],
    {"justifycenter":[true,false,"center",false,true,"center"]}],
["<div style=text-align:center>fo[o</div>b]ar<p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\">fo[o<br>b]ar</div><p>extra</p>",
    [true],
    {"justifycenter":[true,false,"center",false,true,"center"]}],
["<span style=text-align:center>[foo]</span><p>extra",
    [["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span style=text-align:center>[foo]</span><p>extra",
    [["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span style=text-align:center>f[o]o</span><p>extra",
    [["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">f[o]o</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<span style=text-align:center>f[o]o</span><p>extra",
    [["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">f[o]o</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz]</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo</div><div style=\"text-align:left\" contenteditable=\"false\">bar</div><div style=\"text-align:center\">baz]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz]</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo</div><div style=\"text-align:left\" contenteditable=\"false\">bar</div><div style=\"text-align:center\">baz]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz]</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo</div><div style=\"text-align:left\" contenteditable=\"false\">bar</div><div style=\"text-align:center\">baz]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div style=text-align:center>[foo<div style=text-align:left contenteditable=false>bar</div>baz]</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">[foo</div><div style=\"text-align:left\" contenteditable=\"false\">bar</div><div style=\"text-align:center\">baz]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=nonsense><p>[foo]</div><p>extra",
    [["stylewithcss","true"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=nonsense><p>[foo]</div><p>extra",
    [["stylewithcss","false"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:inherit><p>[foo]</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p></div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<quasit align=right><p>[foo]</p></quasit><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><quasit><p>[foo]</p></quasit></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<quasit align=right><p>[foo]</p></quasit><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><quasit><p>[foo]</p></quasit></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<quasit align=right><p>[foo]</p></quasit><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><quasit><p>[foo]</p></quasit></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<quasit align=right><p>[foo]</p></quasit><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><quasit><p>[foo]</p></quasit></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div>}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div>}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div>}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div>}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div>}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div>}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div>}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div>}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div>bar}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br>bar}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[true,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div>bar}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br>bar}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[true,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div>bar}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br>bar}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[true,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div>bar}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br>bar}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[true,false,"left",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div>bar}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br>bar}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div>bar}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br>bar}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div>bar}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br>bar}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div>bar}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br>bar}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br><img src=\"/img/lion.svg\">}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[true,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br><img src=\"/img/lion.svg\">}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[true,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br><img src=\"/img/lion.svg\">}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[true,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div><img src=/img/lion.svg>}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br><img src=\"/img/lion.svg\">}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[true,false,"left",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br><img src=\"/img/lion.svg\">}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br><img src=\"/img/lion.svg\">}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br><img src=\"/img/lion.svg\">}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div><img src=/img/lion.svg>}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<br><img src=\"/img/lion.svg\">}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[true,false,"center",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div><!-- bar -->}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<!-- bar -->}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div><!-- bar -->}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<!-- bar -->}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div><!-- bar -->}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<!-- bar -->}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center>{<div align=left>foo</div><!-- bar -->}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<!-- bar -->}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div><!-- bar -->}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<!-- bar -->}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div><!-- bar -->}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<!-- bar -->}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div><!-- bar -->}</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<!-- bar -->}</div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div align=left>{<div align=center>foo</div><!-- bar -->}</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\">{foo<!-- bar -->}</div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,true,"center",false,true,"center"]}],
["<div style=text-align:start>[foo]</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]</div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:end>[foo]</div><p>extra",
    [["justifycenter",""]],
    "<div style=\"text-align:center\">[foo]</div><p>extra</p>",
    [true],
    {"justifycenter":[false,false,"right",false,true,"center"]}],
["<div dir=rtl style=text-align:start>[foo]</div><p>extra",
    [["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div dir=rtl style=text-align:start>[foo]</div><p>extra",
    [["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"right",false,true,"center"]}],
["<div dir=rtl style=text-align:end>[foo]</div><p>extra",
    [["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div dir=rtl style=text-align:end>[foo]</div><p>extra",
    [["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div> <p>[bar]",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p></div>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center><p>foo</div> <p>[bar]",
    [["justifycenter",""]],
    "<div align=\"center\"><p>foo</p> <p>[bar]</p></div>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>foo</center> <p>[bar]",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p></div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>foo</center> <p>[bar]",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p></div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>foo</center> <p>[bar]",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p></div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>foo</center> <p>[bar]",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p></div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]</p> <div style=text-align:center><p>bar</div>",
    [["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p> <p>bar</p></div>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]</p> <div align=center><p>bar</div>",
    [["justifycenter",""]],
    "<div align=\"center\"><p>[foo]</p> <p>bar</p></div>",
    [true],
    {"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]</p> <center><p>bar</center>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p> </div><center><p>bar</p></center>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]</p> <center><p>bar</center>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p> </div><center><p>bar</p></center>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]</p> <center><p>bar</center>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p> </div><center><p>bar</p></center>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<p>[foo]</p> <center><p>bar</center>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>[foo]</p> </div><center><p>bar</p></center>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div> <p>[bar]</p> <div style=text-align:center><p>baz</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div> <p>[bar]</p> <div style=text-align:center><p>baz</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div> <p>[bar]</p> <div style=text-align:center><p>baz</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div style=text-align:center><p>foo</div> <p>[bar]</p> <div style=text-align:center><p>baz</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center><p>foo</div> <p>[bar]</p> <div align=center><p>baz</div>",
    [["defaultparagraphseparator","div"],["justifycenter",""]],
    "<div align=\"center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<div align=center><p>foo</div> <p>[bar]</p> <div align=center><p>baz</div>",
    [["defaultparagraphseparator","p"],["justifycenter",""]],
    "<div align=\"center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>foo</center> <p>[bar]</p> <center><p>baz</center>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p> </div><center><p>baz</p></center>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>foo</center> <p>[bar]</p> <center><p>baz</center>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifycenter",""]],
    "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p> </div><center><p>baz</p></center>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>foo</center> <p>[bar]</p> <center><p>baz</center>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p> </div><center><p>baz</p></center>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}],
["<center><p>foo</center> <p>[bar]</p> <center><p>baz</center>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifycenter",""]],
    "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p> </div><center><p>baz</p></center>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifycenter":[false,false,"left",false,true,"center"]}]
]
