// For documentation of the format, see README in this directory.
var browserTests = [
["foo[]bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo[]bar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[]bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo[]bar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[]bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo[]bar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[]bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo[]bar</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span>foo</span>{}<span>bar</span><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span>foo</span>{}<span>bar</span><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span>foo</span>{}<span>bar</span><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span>foo</span>{}<span>bar</span><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span>foo[</span><span>]bar</span><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span>foo[</span><span>]bar</span><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span>foo[</span><span>]bar</span><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span>foo[</span><span>]bar</span><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[bar]baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo[bar]baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[bar]baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo[bar]baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[bar]baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo[bar]baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[bar]baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo[bar]baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[bar<b>baz]qoz</b>quz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[bar<b>baz]qoz</b>quz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[bar<b>baz]qoz</b>quz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[bar<b>baz]qoz</b>quz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>foo[]bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo[]bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>foo[]bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo[]bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>foo[]bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo[]bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>foo[]bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo[]bar</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>foo[bar]baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo[bar]baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>foo[bar]baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo[bar]baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>foo[bar]baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo[bar]baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>foo[bar]baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo[bar]baz</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<h1>foo[bar]baz</h1><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><h1>foo[bar]baz</h1></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<h1>foo[bar]baz</h1><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><h1>foo[bar]baz</h1></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<h1>foo[bar]baz</h1><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><h1>foo[bar]baz</h1></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<h1>foo[bar]baz</h1><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><h1>foo[bar]baz</h1></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<pre>foo[bar]baz</pre><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><pre>foo[bar]baz</pre></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<pre>foo[bar]baz</pre><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><pre>foo[bar]baz</pre></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<pre>foo[bar]baz</pre><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><pre>foo[bar]baz</pre></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<pre>foo[bar]baz</pre><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><pre>foo[bar]baz</pre></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<xmp>foo[bar]baz</xmp><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><xmp>foo[bar]baz</xmp></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<xmp>foo[bar]baz</xmp><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><xmp>foo[bar]baz</xmp></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<xmp>foo[bar]baz</xmp><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><xmp>foo[bar]baz</xmp></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<xmp>foo[bar]baz</xmp><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><xmp>foo[bar]baz</xmp></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<center><p>[foo]<p>bar</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<center><div style=\"text-align:justify\"><p>[foo]</p></div><p>bar</p></center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<center><p>[foo]<p>bar</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<center><div style=\"text-align:justify\"><p>[foo]</p></div><p>bar</p></center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<center><p>[foo]<p>bar</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<center><div style=\"text-align:justify\"><p>[foo]</p></div><p>bar</p></center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<center><p>[foo]<p>bar</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<center><div style=\"text-align:justify\"><p>[foo]</p></div><p>bar</p></center><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<center><p>[foo<p>bar]</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<center><p>[foo<p>bar]</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<center><p>[foo<p>bar]</center><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<center><p>[foo<p>bar]</center><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table><tbody><tr><td>foo</td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table><tbody><tr><td>foo</td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table><tbody><tr><td>foo</td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table><tbody><tr><td>foo</td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table><tbody><tr><td>foo</td>{<td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table><tbody><tr><td>foo</td>{<td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table><tbody><tr><td>foo</td>{<td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table><tbody><tr><td>foo</td>{<td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table><tbody><tr>{<td><div style=\"text-align:justify\">foo</div></td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table><tbody><tr>{<td><div style=\"text-align:justify\">foo</div></td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table><tbody><tr>{<td><div style=\"text-align:justify\">foo</div></td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table><tbody><tr>{<td><div style=\"text-align:justify\">foo</div></td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr><td>foo</td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr><td>foo</td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr><td>foo</td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr><td>foo</td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr><td>foo</td>{<td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr><td>foo</td>{<td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr><td>foo</td>{<td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr><td>foo</td>{<td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr>{<td><div style=\"text-align:justify\">foo</div></td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr>{<td><div style=\"text-align:justify\">foo</div></td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr>{<td><div style=\"text-align:justify\">foo</div></td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<table align=\"justify\"><tbody><tr>{<td><div style=\"text-align:justify\">foo</div></td><td><div style=\"text-align:justify\">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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table align=justify data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["{<table align=justify><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["{<table align=justify><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["{<table align=justify><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["{<table align=justify><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<table><tbody align=justify><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["justifyfull",""]],
    "<table><tbody align=\"justify\"><tr><td>foo</td><td>b[a]r</td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody align=justify><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["justifyfull",""]],
    "<table><tbody align=\"justify\"><tr><td>foo</td>{<td>bar</td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody align=justify><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["justifyfull",""]],
    "<table><tbody align=\"justify\"><tr>{<td>foo</td><td>bar</td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody align=justify data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody align=justify data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody align=justify data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody align=justify data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody align=justify><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody align=justify><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody align=justify><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody align=justify><tr><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["{<table><tbody align=justify><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["{<table><tbody align=justify><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["{<table><tbody align=justify><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["{<table><tbody align=justify><tr><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody><tr align=justify><td>foo<td>b[a]r<td>baz</table><p>extra",
    [["justifyfull",""]],
    "<table><tbody><tr align=\"justify\"><td>foo</td><td>b[a]r</td><td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody><tr align=justify data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["justifyfull",""]],
    "<table><tbody><tr align=\"justify\"><td>foo</td>{<td>bar</td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody><tr align=justify data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
    [["justifyfull",""]],
    "<table><tbody><tr align=\"justify\">{<td>foo</td><td>bar</td>}<td>baz</td></tr></tbody></table><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody data-start=0 data-end=1><tr align=justify><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody data-start=0 data-end=1><tr align=justify><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody data-start=0 data-end=1><tr align=justify><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table><tbody data-start=0 data-end=1><tr align=justify><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody><tr align=justify><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody><tr align=justify><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody><tr align=justify><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<table data-start=0 data-end=1><tbody><tr align=justify><td>foo<td>bar<td>baz</table><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["{<table><tr align=justify><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["{<table><tr align=justify><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["{<table><tr align=justify><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["{<table><tr align=justify><td>foo<td>bar<td>baz</table>}<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">{<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"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div align=center><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"center\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div align=center><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"center\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div align=center><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"center\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div align=center><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"center\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div align=center><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","true"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div align=center><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","false"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div style=text-align:center><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:center\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div style=text-align:center><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:center\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div style=text-align:center><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:center\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div style=text-align:center><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:center\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div style=text-align:center><p>[foo<p>bar]</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"center",false,true,"justify"]}],
["<div align=justify><p>[foo]<p>bar</div><p>extra",
    [["justifyfull",""]],
    "<div align=\"justify\"><p>[foo]</p><p>bar</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div align=justify><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","true"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div align=justify><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","false"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div style=text-align:justify><p>[foo]<p>bar</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p><p>bar</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div style=text-align:justify><p>[foo<p>bar]</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div align=left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"left\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"left\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"left\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"left\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=left><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","true"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=left><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","false"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:left\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:left\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:left\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:left><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:left\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:left><p>[foo<p>bar]</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"right\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div align=right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"right\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div align=right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"right\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div align=right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"right\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div align=right><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","true"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div align=right><p>[foo<p>bar}</div><p>extra",
    [["stylewithcss","false"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar}</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div style=text-align:right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:right\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div style=text-align:right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:right\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div style=text-align:right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:right\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div style=text-align:right><p>[foo]<p>bar</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:right\"><div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div style=text-align:right><p>[foo<p>bar]</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo</p><p>bar]</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div align=justify>foo</div>[bar]<p>extra",
    [["justifyfull",""]],
    "<div align=\"justify\">foo<br>[bar]</div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["[foo]<div align=justify>bar</div><p>extra",
    [["justifyfull",""]],
    "<div align=\"justify\">[foo]<br>bar</div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify>foo</div>[bar]<div align=justify>baz</div><p>extra",
    [["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"justify\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify>foo</div>[bar]<div align=justify>baz</div><p>extra",
    [["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"justify\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify><p>foo</div><p>[bar]<p>extra",
    [["justifyfull",""]],
    "<div align=\"justify\"><p>foo</p><p>[bar]</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>[foo]<div align=justify><p>bar</div><p>extra",
    [["justifyfull",""]],
    "<div align=\"justify\"><p>[foo]</p><p>bar</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify><p>foo</div><p>[bar]<div align=justify><p>baz</div><p>extra",
    [["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"justify\"><p>foo</p><p>[bar]</p><p>baz</p></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify><p>foo</div><p>[bar]<div align=justify><p>baz</div><p>extra",
    [["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"justify\"><p>foo</p><p>[bar]</p><p>baz</p></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify>foo</div>[bar]<p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\">foo<br>[bar]</div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["[foo]<div style=text-align:justify>bar</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo]<br>bar</div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify>foo</div>[bar]<div style=text-align:justify>baz</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify>foo</div>[bar]<div style=text-align:justify>baz</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify>foo</div>[bar]<div style=text-align:justify>baz</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify>foo</div>[bar]<div style=text-align:justify>baz</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">foo<br>[bar]<br>baz</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div><p>[bar]<p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo</p><p>[bar]</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>[foo]<div style=text-align:justify><p>bar</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p><p>bar</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div><p>[bar]<div style=text-align:justify><p>baz</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div><p>[bar]<div style=text-align:justify><p>baz</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div><p>[bar]<div style=text-align:justify><p>baz</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div><p>[bar]<div style=text-align:justify><p>baz</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p align=justify>foo<p>[bar]<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<p align=\"justify\">foo</p><div style=\"text-align:justify\"><p>[bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p align=justify>foo<p>[bar]<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<p align=\"justify\">foo</p><div style=\"text-align:justify\"><p>[bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p align=justify>foo<p>[bar]<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<p align=\"justify\">foo</p><div style=\"text-align:justify\"><p>[bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p align=justify>foo<p>[bar]<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<p align=\"justify\">foo</p><div style=\"text-align:justify\"><p>[bar]</p></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>[foo]<p align=justify>bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p></div><p align=\"justify\">bar</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>[foo]<p align=justify>bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p></div><p align=\"justify\">bar</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>[foo]<p align=justify>bar<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p></div><p align=\"justify\">bar</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>[foo]<p align=justify>bar<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p></div><p align=\"justify\">bar</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p align=justify>foo<p>[bar]<p align=justify>baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<p align=\"justify\">foo</p><div style=\"text-align:justify\"><p>[bar]</p></div><p align=\"justify\">baz</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p align=justify>foo<p>[bar]<p align=justify>baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<p align=\"justify\">foo</p><div style=\"text-align:justify\"><p>[bar]</p></div><p align=\"justify\">baz</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p align=justify>foo<p>[bar]<p align=justify>baz<p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<p align=\"justify\">foo</p><div style=\"text-align:justify\"><p>[bar]</p></div><p align=\"justify\">baz</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p align=justify>foo<p>[bar]<p align=justify>baz<p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<p align=\"justify\">foo</p><div style=\"text-align:justify\"><p>[bar]</p></div><p align=\"justify\">baz</p><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify>[foo</div>bar]<p>extra",
    [["stylewithcss","true"],["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo<br>bar]</div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[true,false,"justify",false,true,"justify"]}],
["<div align=justify>[foo</div>bar]<p>extra",
    [["stylewithcss","false"],["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo<br>bar]</div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[true,false,"justify",false,true,"justify"]}],
["<div align=justify>fo[o</div>b]ar<p>extra",
    [["stylewithcss","true"],["justifyfull",""]],
    "<div style=\"text-align:justify\">fo[o<br>b]ar</div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[true,false,"justify",false,true,"justify"]}],
["<div align=justify>fo[o</div>b]ar<p>extra",
    [["stylewithcss","false"],["justifyfull",""]],
    "<div style=\"text-align:justify\">fo[o<br>b]ar</div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[true,false,"justify",false,true,"justify"]}],
["<div style=text-align:justify>[foo</div>bar]<p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo<br>bar]</div><p>extra</p>",
    [true],
    {"justifyfull":[true,false,"justify",false,true,"justify"]}],
["<div style=text-align:justify>fo[o</div>b]ar<p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\">fo[o<br>b]ar</div><p>extra</p>",
    [true],
    {"justifyfull":[true,false,"justify",false,true,"justify"]}],
["<span style=text-align:justify>[foo]</span><p>extra",
    [["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo]</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span style=text-align:justify>[foo]</span><p>extra",
    [["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo]</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span style=text-align:justify>f[o]o</span><p>extra",
    [["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">f[o]o</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<span style=text-align:justify>f[o]o</span><p>extra",
    [["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">f[o]o</div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify>[foo<div style=text-align:left contenteditable=false>bar</div>baz]</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo</div><div style=\"text-align:left\" contenteditable=\"false\">bar</div><div style=\"text-align:justify\">baz]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div style=text-align:justify>[foo<div style=text-align:left contenteditable=false>bar</div>baz]</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo</div><div style=\"text-align:left\" contenteditable=\"false\">bar</div><div style=\"text-align:justify\">baz]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div style=text-align:justify>[foo<div style=text-align:left contenteditable=false>bar</div>baz]</div><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo</div><div style=\"text-align:left\" contenteditable=\"false\">bar</div><div style=\"text-align:justify\">baz]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div style=text-align:justify>[foo<div style=text-align:left contenteditable=false>bar</div>baz]</div><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo</div><div style=\"text-align:left\" contenteditable=\"false\">bar</div><div style=\"text-align:justify\">baz]</div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,true,"justify",false,true,"justify"]}],
["<div align=nonsense><p>[foo]</div><p>extra",
    [["stylewithcss","true"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=nonsense><p>[foo]</div><p>extra",
    [["stylewithcss","false"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p></div><p>extra</p>",
    [true,true],
    {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:inherit><p>[foo]</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p></div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<quasit align=center><p>[foo]</p></quasit><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><quasit><p>[foo]</p></quasit></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<quasit align=center><p>[foo]</p></quasit><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><quasit><p>[foo]</p></quasit></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<quasit align=center><p>[foo]</p></quasit><p>extra",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><quasit><p>[foo]</p></quasit></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<quasit align=center><p>[foo]</p></quasit><p>extra",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><quasit><p>[foo]</p></quasit></div><p>extra</p>",
    [true,true,true],
    {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:start>[foo]</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo]</div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:end>[foo]</div><p>extra",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\">[foo]</div><p>extra</p>",
    [true],
    {"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div dir=rtl style=text-align:start>[foo]</div><p>extra",
    [["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div dir=rtl style=text-align:start>[foo]</div><p>extra",
    [["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"right",false,true,"justify"]}],
["<div dir=rtl style=text-align:end>[foo]</div><p>extra",
    [["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div dir=rtl style=text-align:end>[foo]</div><p>extra",
    [["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div> <p>[bar]",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>foo</p> <p>[bar]</p></div>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify><p>foo</div> <p>[bar]",
    [["justifyfull",""]],
    "<div align=\"justify\"><p>foo</p> <p>[bar]</p></div>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>[foo]</p> <div style=text-align:justify><p>bar</div>",
    [["justifyfull",""]],
    "<div style=\"text-align:justify\"><p>[foo]</p> <p>bar</p></div>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<p>[foo]</p> <div align=justify><p>bar</div>",
    [["justifyfull",""]],
    "<div align=\"justify\"><p>[foo]</p> <p>bar</p></div>",
    [true],
    {"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div> <p>[bar]</p> <div style=text-align:justify><p>baz</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div> <p>[bar]</p> <div style=text-align:justify><p>baz</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div> <p>[bar]</p> <div style=text-align:justify><p>baz</div>",
    [["stylewithcss","true"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div style=text-align:justify><p>foo</div> <p>[bar]</p> <div style=text-align:justify><p>baz</div>",
    [["stylewithcss","false"],["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div style=\"text-align:justify\"><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"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify><p>foo</div> <p>[bar]</p> <div align=justify><p>baz</div>",
    [["defaultparagraphseparator","div"],["justifyfull",""]],
    "<div align=\"justify\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"justifyfull":[false,false,"left",false,true,"justify"]}],
["<div align=justify><p>foo</div> <p>[bar]</p> <div align=justify><p>baz</div>",
    [["defaultparagraphseparator","p"],["justifyfull",""]],
    "<div align=\"justify\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
    [true,true],
    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"justifyfull":[false,false,"left",false,true,"justify"]}]
]
