--- a/conformancetest/data.js Wed Sep 21 11:53:03 2011 -0600
+++ b/conformancetest/data.js Wed Sep 21 14:29:54 2011 -0600
@@ -25,11 +25,11 @@
{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["backcolor","#00FFFF"]],
- "<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span> </span></p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
+ "<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span></span> </p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["backcolor","#00FFFF"]],
- "<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span> </span></p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
+ "<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span></span> </p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["backcolor","#00FFFF"]],
@@ -353,11 +353,11 @@
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["bold",""]],
- "<p><b>[foo</b></p><p> <b><span>bar</span> </b></p><p><b>baz]</b></p>",
+ "<p><b>[foo</b></p><p> <b><span>bar</span></b> </p><p><b>baz]</b></p>",
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["bold",""]],
- "<p><span style=\"font-weight:bold\">[foo</span></p><p> <span style=\"font-weight:bold\"><span>bar</span> </span></p><p><span style=\"font-weight:bold\">baz]</span></p>",
+ "<p><span style=\"font-weight:bold\">[foo</span></p><p> <span style=\"font-weight:bold\"><span>bar</span></span> </p><p><span style=\"font-weight:bold\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["bold",""]],
@@ -1329,11 +1329,11 @@
{"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
- "<p><a href=\"http://www.google.com/\">[foo</a></p><p> <a href=\"http://www.google.com/\"><span>bar</span> </a></p><p><a href=\"http://www.google.com/\">baz]</a></p>",
+ "<p><a href=\"http://www.google.com/\">[foo</a></p><p> <a href=\"http://www.google.com/\"><span>bar</span></a> </p><p><a href=\"http://www.google.com/\">baz]</a></p>",
{"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["createlink","http://www.google.com/"]],
- "<p><a href=\"http://www.google.com/\">[foo</a></p><p> <a href=\"http://www.google.com/\"><span>bar</span> </a></p><p><a href=\"http://www.google.com/\">baz]</a></p>",
+ "<p><a href=\"http://www.google.com/\">[foo</a></p><p> <a href=\"http://www.google.com/\"><span>bar</span></a> </p><p><a href=\"http://www.google.com/\">baz]</a></p>",
{"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
@@ -3905,11 +3905,11 @@
{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["fontname","sans-serif"]],
- "<p><font face=\"sans-serif\">[foo</font></p><p> <font face=\"sans-serif\"><span>bar</span> </font></p><p><font face=\"sans-serif\">baz]</font></p>",
+ "<p><font face=\"sans-serif\">[foo</font></p><p> <font face=\"sans-serif\"><span>bar</span></font> </p><p><font face=\"sans-serif\">baz]</font></p>",
{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["fontname","sans-serif"]],
- "<p><span style=\"font-family:sans-serif\">[foo</span></p><p> <span style=\"font-family:sans-serif\"><span>bar</span> </span></p><p><span style=\"font-family:sans-serif\">baz]</span></p>",
+ "<p><span style=\"font-family:sans-serif\">[foo</span></p><p> <span style=\"font-family:sans-serif\"><span>bar</span></span> </p><p><span style=\"font-family:sans-serif\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["fontname","sans-serif"]],
@@ -4497,11 +4497,11 @@
{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["fontsize","4"]],
- "<p><font size=\"4\">[foo</font></p><p> <font size=\"4\"><span>bar</span> </font></p><p><font size=\"4\">baz]</font></p>",
+ "<p><font size=\"4\">[foo</font></p><p> <font size=\"4\"><span>bar</span></font> </p><p><font size=\"4\">baz]</font></p>",
{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["fontsize","4"]],
- "<p><span style=\"font-size:large\">[foo</span></p><p> <span style=\"font-size:large\"><span>bar</span> </span></p><p><span style=\"font-size:large\">baz]</span></p>",
+ "<p><span style=\"font-size:large\">[foo</span></p><p> <span style=\"font-size:large\"><span>bar</span></span> </p><p><span style=\"font-size:large\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["fontsize","4"]],
@@ -5185,11 +5185,11 @@
{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["forecolor","#0000FF"]],
- "<p><font color=\"#0000ff\">[foo</font></p><p> <font color=\"#0000ff\"><span>bar</span> </font></p><p><font color=\"#0000ff\">baz]</font></p>",
+ "<p><font color=\"#0000ff\">[foo</font></p><p> <font color=\"#0000ff\"><span>bar</span></font> </p><p><font color=\"#0000ff\">baz]</font></p>",
{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["forecolor","#0000FF"]],
- "<p><span style=\"color:rgb(0, 0, 255)\">[foo</span></p><p> <span style=\"color:rgb(0, 0, 255)\"><span>bar</span> </span></p><p><span style=\"color:rgb(0, 0, 255)\">baz]</span></p>",
+ "<p><span style=\"color:rgb(0, 0, 255)\">[foo</span></p><p> <span style=\"color:rgb(0, 0, 255)\"><span>bar</span></span> </p><p><span style=\"color:rgb(0, 0, 255)\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["forecolor","#0000FF"]],
@@ -5841,11 +5841,11 @@
{"stylewithcss":[false,false,"",false,true,""],"formatblock":[false,false,"",false,false,"div"]}],
["{<p><p> <p>foo</p>}",
[["stylewithcss","false"],["formatblock","<div>"]],
- "<div>{ </div><div>foo}</div>",
+ "<div>{ foo}</div>",
{"stylewithcss":[false,true,"",false,false,""],"formatblock":[false,false,"p",false,false,"div"]}],
["{<p><p> <p>foo</p>}",
[["stylewithcss","true"],["formatblock","<div>"]],
- "<div>{ </div><div>foo}</div>",
+ "<div>{ foo}</div>",
{"stylewithcss":[false,false,"",false,true,""],"formatblock":[false,false,"p",false,false,"div"]}],
["foo[bar<i>baz]qoz</i>quz<p>extra",
[["stylewithcss","false"],["formatblock","<div>"]],
@@ -6113,11 +6113,11 @@
{"stylewithcss":[false,false,"",false,true,""],"formatblock":[false,false,"",false,false,"p"]}],
["{<p><p> <p>foo</p>}",
[["stylewithcss","false"],["formatblock","<p>"]],
- "<p>{ </p><p>foo}</p>",
+ "<p>{ foo}</p>",
{"stylewithcss":[false,true,"",false,false,""],"formatblock":[false,false,"p",false,false,"p"]}],
["{<p><p> <p>foo</p>}",
[["stylewithcss","true"],["formatblock","<p>"]],
- "<p>{ </p><p>foo}</p>",
+ "<p>{ foo}</p>",
{"stylewithcss":[false,false,"",false,true,""],"formatblock":[false,false,"p",false,false,"p"]}],
["foo[bar<i>baz]qoz</i>quz<p>extra",
[["stylewithcss","false"],["formatblock","<p>"]],
@@ -9793,11 +9793,11 @@
{"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
- "<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span> </span></p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
+ "<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span></span> </p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
{"stylewithcss":[false,true,"",false,false,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["hilitecolor","#00FFFF"]],
- "<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span> </span></p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
+ "<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span></span> </p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
@@ -11151,6 +11151,126 @@
[["stylewithcss","true"],["indent",""]],
"<blockquote><p>{}<!--foo-->bar</p></blockquote><p>extra</p>",
{"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<blockquote><p>foo</blockquote> <p>[bar]",
+ [["stylewithcss","false"],["indent",""]],
+ "<blockquote><p>foo</p> <p>[bar]</p></blockquote>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<blockquote><p>foo</blockquote> <p>[bar]",
+ [["stylewithcss","true"],["indent",""]],
+ "<blockquote><p>foo</p> <p>[bar]</p></blockquote>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<p>[foo]</p> <blockquote><p>bar</blockquote>",
+ [["stylewithcss","false"],["indent",""]],
+ "<blockquote><p>[foo]</p> <p>bar</p></blockquote>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<p>[foo]</p> <blockquote><p>bar</blockquote>",
+ [["stylewithcss","true"],["indent",""]],
+ "<blockquote><p>[foo]</p> <p>bar</p></blockquote>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<blockquote><p>foo</blockquote> <p>[bar]</p> <blockquote><p>baz</blockquote>",
+ [["stylewithcss","false"],["indent",""]],
+ "<blockquote><p>foo</p> <p>[bar]</p> <p>baz</p></blockquote>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<blockquote><p>foo</blockquote> <p>[bar]</p> <blockquote><p>baz</blockquote>",
+ [["stylewithcss","true"],["indent",""]],
+ "<blockquote><p>foo</p> <p>[bar]</p> <p>baz</p></blockquote>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo</li><ol><li>bar</li> </ol><li>[baz]</ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo</li><ol><li>bar</li> </ol><li>[baz]</ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo</li><ol><li>bar</li></ol> <li>[baz]</ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo</li><ol><li>bar</li></ol> <li>[baz]</ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo</li><ol><li>bar</li> </ol> <li>[baz]</ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo</li><ol><li>bar</li> </ol> <li>[baz]</ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<ol><li>bar</li> </ol></li><li>[baz]</ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<ol><li>bar</li> </ol></li><li>[baz]</ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<ol><li>bar</li></ol></li> <li>[baz]</ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<ol><li>bar</li></ol></li> <li>[baz]</ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<ol><li>bar</li> </ol></li> <li>[baz]</ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<ol><li>bar</li> </ol></li> <li>[baz]</ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>bar</li> <li>[baz]</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar]</li> <ol><li>baz</ol></ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar]</li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar]</li> <ol><li>baz</ol></ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar]</li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar]</li><ol> <li>baz</ol></ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar]</li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar]</li><ol> <li>baz</ol></ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar]</li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar]</li> <ol> <li>baz</ol></ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar]</li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar]</li> <ol> <li>baz</ol></ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar]</li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar] <ol><li>baz</ol></ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar] </li><li>baz</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar] <ol><li>baz</ol></ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar] </li><li>baz</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar]<ol> <li>baz</ol></ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar]</li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar]<ol> <li>baz</ol></ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar]</li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar] <ol> <li>baz</ol></ol>",
+ [["stylewithcss","false"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar] </li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"indent":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[bar] <ol> <li>baz</ol></ol>",
+ [["stylewithcss","true"],["indent",""]],
+ "<ol><li>foo</li><ol><li>[bar] </li> <li>baz</li></ol></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"indent":[false,false,"",false,false,""]}],
["<ul><li>a<br>{<br>}</li><li>b</li></ul>",
[["stylewithcss","false"],["indent",""]],
"<ul><ul><li>a<br>{<br>}</li></ul><li>b</li></ul>",
@@ -14615,6 +14735,30 @@
[["stylewithcss","true"],["insertorderedlist",""]],
"<ul style=\"text-indent:1em\"><li>foo</li><li>bar</li></ul><ol><li>[baz]</li></ol>",
{"stylewithcss":[false,false,"",false,true,""],"insertorderedlist":[false,false,"",false,true,""]}],
+["<ol><li>foo</ol> <p>[bar]",
+ [["stylewithcss","false"],["insertorderedlist",""]],
+ "<ol><li>foo</li> <li>[bar]</li></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"insertorderedlist":[false,false,"",false,true,""]}],
+["<ol><li>foo</ol> <p>[bar]",
+ [["stylewithcss","true"],["insertorderedlist",""]],
+ "<ol><li>foo</li> <li>[bar]</li></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"insertorderedlist":[false,false,"",false,true,""]}],
+["<p>[foo]</p> <ol><li>bar</ol>",
+ [["stylewithcss","false"],["insertorderedlist",""]],
+ "<ol><li>[foo]</li> <li>bar</li></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"insertorderedlist":[false,false,"",false,true,""]}],
+["<p>[foo]</p> <ol><li>bar</ol>",
+ [["stylewithcss","true"],["insertorderedlist",""]],
+ "<ol><li>[foo]</li> <li>bar</li></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"insertorderedlist":[false,false,"",false,true,""]}],
+["<ol><li>foo</ol> <p>[bar]</p> <ol><li>baz</ol>",
+ [["stylewithcss","false"],["insertorderedlist",""]],
+ "<ol><li>foo</li> <li>[bar]</li> <li>baz</li></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"insertorderedlist":[false,false,"",false,true,""]}],
+["<ol><li>foo</ol> <p>[bar]</p> <ol><li>baz</ol>",
+ [["stylewithcss","true"],["insertorderedlist",""]],
+ "<ol><li>foo</li> <li>[bar]</li> <li>baz</li></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"insertorderedlist":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["stylewithcss","false"],["insertparagraph",""]],
"<p>foo</p><p>{}baz</p>",
@@ -17511,6 +17655,30 @@
[["stylewithcss","true"],["insertunorderedlist",""]],
"<ul style=\"text-indent:1em\"><li>foo</li><li>bar</li></ul><p>[baz]</p>",
{"stylewithcss":[false,false,"",false,true,""],"insertunorderedlist":[false,true,"",false,false,""]}],
+["<ul><li>foo</ul> <p>[bar]",
+ [["stylewithcss","false"],["insertunorderedlist",""]],
+ "<ul><li>foo</li> <li>[bar]</li></ul>",
+ {"stylewithcss":[false,true,"",false,false,""],"insertunorderedlist":[false,false,"",false,true,""]}],
+["<ul><li>foo</ul> <p>[bar]",
+ [["stylewithcss","true"],["insertunorderedlist",""]],
+ "<ul><li>foo</li> <li>[bar]</li></ul>",
+ {"stylewithcss":[false,false,"",false,true,""],"insertunorderedlist":[false,false,"",false,true,""]}],
+["<p>[foo]</p> <ul><li>bar</ul>",
+ [["stylewithcss","false"],["insertunorderedlist",""]],
+ "<ul><li>[foo]</li> <li>bar</li></ul>",
+ {"stylewithcss":[false,true,"",false,false,""],"insertunorderedlist":[false,false,"",false,true,""]}],
+["<p>[foo]</p> <ul><li>bar</ul>",
+ [["stylewithcss","true"],["insertunorderedlist",""]],
+ "<ul><li>[foo]</li> <li>bar</li></ul>",
+ {"stylewithcss":[false,false,"",false,true,""],"insertunorderedlist":[false,false,"",false,true,""]}],
+["<ul><li>foo</ul> <p>[bar]</p> <ul><li>baz</ul>",
+ [["stylewithcss","false"],["insertunorderedlist",""]],
+ "<ul><li>foo</li> <li>[bar]</li> <li>baz</li></ul>",
+ {"stylewithcss":[false,true,"",false,false,""],"insertunorderedlist":[false,false,"",false,true,""]}],
+["<ul><li>foo</ul> <p>[bar]</p> <ul><li>baz</ul>",
+ [["stylewithcss","true"],["insertunorderedlist",""]],
+ "<ul><li>foo</li> <li>[bar]</li> <li>baz</li></ul>",
+ {"stylewithcss":[false,false,"",false,true,""],"insertunorderedlist":[false,false,"",false,true,""]}],
["{<div style=\"font-size: 1.3em\">1</div><div style=\"font-size: 1.1em\">2</div>}",
[["stylewithcss","false"],["insertunorderedlist",""]],
"<ul>{<li style=\"font-size:1.3em\">1</li><li style=\"font-size:1.1em\">2</li>}</ul>",
@@ -17545,11 +17713,11 @@
{"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["italic",""]],
- "<p><i>[foo</i></p><p> <i><span>bar</span> </i></p><p><i>baz]</i></p>",
+ "<p><i>[foo</i></p><p> <i><span>bar</span></i> </p><p><i>baz]</i></p>",
{"stylewithcss":[false,true,"",false,false,""],"italic":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["italic",""]],
- "<p><span style=\"font-style:italic\">[foo</span></p><p> <span style=\"font-style:italic\"><span>bar</span> </span></p><p><span style=\"font-style:italic\">baz]</span></p>",
+ "<p><span style=\"font-style:italic\">[foo</span></p><p> <span style=\"font-style:italic\"><span>bar</span></span> </p><p><span style=\"font-style:italic\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["italic",""]],
@@ -18887,6 +19055,78 @@
[["stylewithcss","true"],["justifycenter",""]],
"<div style=\"text-align:center\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
{"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<div style=text-align:center><p>foo</div> <p>[bar]",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<div style=text-align:center><p>foo</div> <p>[bar]",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<div align=center><p>foo</div> <p>[bar]",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<div align=\"center\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<div align=center><p>foo</div> <p>[bar]",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<div align=\"center\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<center><p>foo</center> <p>[bar]",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<center><p>foo</center> <p>[bar]",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<p>[foo]</p> <div style=text-align:center><p>bar</div>",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<div style=\"text-align:center\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<p>[foo]</p> <div style=text-align:center><p>bar</div>",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<div style=\"text-align:center\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<p>[foo]</p> <div align=center><p>bar</div>",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<div align=\"center\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<p>[foo]</p> <div align=center><p>bar</div>",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<div align=\"center\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<p>[foo]</p> <center><p>bar</center>",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<div style=\"text-align:center\"><p>[foo]</p> </div><center><p>bar</p></center>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<p>[foo]</p> <center><p>bar</center>",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<div style=\"text-align:center\"><p>[foo]</p> </div><center><p>bar</p></center>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<div style=text-align:center><p>foo</div> <p>[bar]</p> <div style=text-align:center><p>baz</div>",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<div style=text-align:center><p>foo</div> <p>[bar]</p> <div style=text-align:center><p>baz</div>",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<div style=\"text-align:center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<div align=center><p>foo</div> <p>[bar]</p> <div align=center><p>baz</div>",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<div align=\"center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<div align=center><p>foo</div> <p>[bar]</p> <div align=center><p>baz</div>",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<div align=\"center\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<center><p>foo</center> <p>[bar]</p> <center><p>baz</center>",
+ [["stylewithcss","false"],["justifycenter",""]],
+ "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p> </div><center><p>baz</p></center>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifycenter":[false,false,"left",false,true,"center"]}],
+["<center><p>foo</center> <p>[bar]</p> <center><p>baz</center>",
+ [["stylewithcss","true"],["justifycenter",""]],
+ "<center><p>foo</p></center><div style=\"text-align:center\"> <p>[bar]</p> </div><center><p>baz</p></center>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifycenter":[false,false,"left",false,true,"center"]}],
["foo[]bar<p>extra",
[["stylewithcss","false"],["justifyfull",""]],
"<div style=\"text-align:justify\">foo[]bar</div><p>extra</p>",
@@ -19535,6 +19775,54 @@
[["stylewithcss","true"],["justifyfull",""]],
"<div style=\"text-align:justify\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
{"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<div style=text-align:justify><p>foo</div> <p>[bar]",
+ [["stylewithcss","false"],["justifyfull",""]],
+ "<div style=\"text-align:justify\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<div style=text-align:justify><p>foo</div> <p>[bar]",
+ [["stylewithcss","true"],["justifyfull",""]],
+ "<div style=\"text-align:justify\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<div align=justify><p>foo</div> <p>[bar]",
+ [["stylewithcss","false"],["justifyfull",""]],
+ "<div align=\"justify\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<div align=justify><p>foo</div> <p>[bar]",
+ [["stylewithcss","true"],["justifyfull",""]],
+ "<div align=\"justify\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<p>[foo]</p> <div style=text-align:justify><p>bar</div>",
+ [["stylewithcss","false"],["justifyfull",""]],
+ "<div style=\"text-align:justify\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<p>[foo]</p> <div style=text-align:justify><p>bar</div>",
+ [["stylewithcss","true"],["justifyfull",""]],
+ "<div style=\"text-align:justify\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<p>[foo]</p> <div align=justify><p>bar</div>",
+ [["stylewithcss","false"],["justifyfull",""]],
+ "<div align=\"justify\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<p>[foo]</p> <div align=justify><p>bar</div>",
+ [["stylewithcss","true"],["justifyfull",""]],
+ "<div align=\"justify\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,false,"",false,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","false"],["justifyfull",""]],
+ "<div style=\"text-align:justify\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"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"],["justifyfull",""]],
+ "<div style=\"text-align:justify\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<div align=justify><p>foo</div> <p>[bar]</p> <div align=justify><p>baz</div>",
+ [["stylewithcss","false"],["justifyfull",""]],
+ "<div align=\"justify\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
+["<div align=justify><p>foo</div> <p>[bar]</p> <div align=justify><p>baz</div>",
+ [["stylewithcss","true"],["justifyfull",""]],
+ "<div align=\"justify\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyfull":[false,false,"left",false,true,"justify"]}],
["foo[]bar<p>extra",
[["stylewithcss","false"],["justifyleft",""]],
"foo[]bar<p>extra</p>",
@@ -20183,6 +20471,54 @@
[["stylewithcss","true"],["justifyleft",""]],
"<div style=\"text-align:left\"><div dir=\"rtl\">[foo]</div></div><p>extra</p>",
{"stylewithcss":[false,false,"",false,true,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<div style=text-align:left><p>foo</div> <p>[bar]",
+ [["stylewithcss","false"],["justifyleft",""]],
+ "<div style=\"text-align:left\"><p>foo</p></div> <p>[bar]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<div style=text-align:left><p>foo</div> <p>[bar]",
+ [["stylewithcss","true"],["justifyleft",""]],
+ "<div style=\"text-align:left\"><p>foo</p></div> <p>[bar]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<div align=left><p>foo</div> <p>[bar]",
+ [["stylewithcss","false"],["justifyleft",""]],
+ "<div align=\"left\"><p>foo</p></div> <p>[bar]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<div align=left><p>foo</div> <p>[bar]",
+ [["stylewithcss","true"],["justifyleft",""]],
+ "<div align=\"left\"><p>foo</p></div> <p>[bar]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<p>[foo]</p> <div style=text-align:left><p>bar</div>",
+ [["stylewithcss","false"],["justifyleft",""]],
+ "<p>[foo]</p> <div style=\"text-align:left\"><p>bar</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<p>[foo]</p> <div style=text-align:left><p>bar</div>",
+ [["stylewithcss","true"],["justifyleft",""]],
+ "<p>[foo]</p> <div style=\"text-align:left\"><p>bar</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<p>[foo]</p> <div align=left><p>bar</div>",
+ [["stylewithcss","false"],["justifyleft",""]],
+ "<p>[foo]</p> <div align=\"left\"><p>bar</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<p>[foo]</p> <div align=left><p>bar</div>",
+ [["stylewithcss","true"],["justifyleft",""]],
+ "<p>[foo]</p> <div align=\"left\"><p>bar</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<div style=text-align:left><p>foo</div> <p>[bar]</p> <div style=text-align:left><p>baz</div>",
+ [["stylewithcss","false"],["justifyleft",""]],
+ "<div style=\"text-align:left\"><p>foo</p></div> <p>[bar]</p> <div style=\"text-align:left\"><p>baz</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<div style=text-align:left><p>foo</div> <p>[bar]</p> <div style=text-align:left><p>baz</div>",
+ [["stylewithcss","true"],["justifyleft",""]],
+ "<div style=\"text-align:left\"><p>foo</p></div> <p>[bar]</p> <div style=\"text-align:left\"><p>baz</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<div align=left><p>foo</div> <p>[bar]</p> <div align=left><p>baz</div>",
+ [["stylewithcss","false"],["justifyleft",""]],
+ "<div align=\"left\"><p>foo</p></div> <p>[bar]</p> <div align=\"left\"><p>baz</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyleft":[false,true,"left",false,true,"left"]}],
+["<div align=left><p>foo</div> <p>[bar]</p> <div align=left><p>baz</div>",
+ [["stylewithcss","true"],["justifyleft",""]],
+ "<div align=\"left\"><p>foo</p></div> <p>[bar]</p> <div align=\"left\"><p>baz</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyleft":[false,true,"left",false,true,"left"]}],
["foo[]bar<p>extra",
[["stylewithcss","false"],["justifyright",""]],
"<div style=\"text-align:right\">foo[]bar</div><p>extra</p>",
@@ -20831,6 +21167,54 @@
[["stylewithcss","true"],["justifyright",""]],
"<div dir=\"rtl\">[foo]</div><p>extra</p>",
{"stylewithcss":[false,false,"",false,true,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<div style=text-align:right><p>foo</div> <p>[bar]",
+ [["stylewithcss","false"],["justifyright",""]],
+ "<div style=\"text-align:right\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<div style=text-align:right><p>foo</div> <p>[bar]",
+ [["stylewithcss","true"],["justifyright",""]],
+ "<div style=\"text-align:right\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<div align=right><p>foo</div> <p>[bar]",
+ [["stylewithcss","false"],["justifyright",""]],
+ "<div align=\"right\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<div align=right><p>foo</div> <p>[bar]",
+ [["stylewithcss","true"],["justifyright",""]],
+ "<div align=\"right\"><p>foo</p> <p>[bar]</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<p>[foo]</p> <div style=text-align:right><p>bar</div>",
+ [["stylewithcss","false"],["justifyright",""]],
+ "<div style=\"text-align:right\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<p>[foo]</p> <div style=text-align:right><p>bar</div>",
+ [["stylewithcss","true"],["justifyright",""]],
+ "<div style=\"text-align:right\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<p>[foo]</p> <div align=right><p>bar</div>",
+ [["stylewithcss","false"],["justifyright",""]],
+ "<div align=\"right\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<p>[foo]</p> <div align=right><p>bar</div>",
+ [["stylewithcss","true"],["justifyright",""]],
+ "<div align=\"right\"><p>[foo]</p> <p>bar</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<div style=text-align:right><p>foo</div> <p>[bar]</p> <div style=text-align:right><p>baz</div>",
+ [["stylewithcss","false"],["justifyright",""]],
+ "<div style=\"text-align:right\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<div style=text-align:right><p>foo</div> <p>[bar]</p> <div style=text-align:right><p>baz</div>",
+ [["stylewithcss","true"],["justifyright",""]],
+ "<div style=\"text-align:right\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<div align=right><p>foo</div> <p>[bar]</p> <div align=right><p>baz</div>",
+ [["stylewithcss","false"],["justifyright",""]],
+ "<div align=\"right\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,true,"",false,false,""],"justifyright":[false,false,"left",false,true,"right"]}],
+["<div align=right><p>foo</div> <p>[bar]</p> <div align=right><p>baz</div>",
+ [["stylewithcss","true"],["justifyright",""]],
+ "<div align=\"right\"><p>foo</p> <p>[bar]</p> <p>baz</p></div>",
+ {"stylewithcss":[false,false,"",false,true,""],"justifyright":[false,false,"left",false,true,"right"]}],
["<blockquote><p>foo[bar]</p><p>baz</p></blockquote><p>extra",
[["stylewithcss","false"],["outdent",""]],
"<p>foo[bar]</p><blockquote><p>baz</p></blockquote><p>extra</p>",
@@ -21551,6 +21935,150 @@
[["stylewithcss","true"],["outdent",""]],
"<blockquote><ol><li>foo</li><li>[bar]</li><li>baz</li></ol></blockquote>",
{"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>[foo]</p></blockquote>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>[foo]</p></blockquote>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote><p>[foo]</p> </blockquote>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<p>[foo]</p> ",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote><p>[foo]</p> </blockquote>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<p>[foo]</p> ",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>[foo]</p> </blockquote>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p> ",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>[foo]</p> </blockquote>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p> ",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>[foo]</li></ol>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>[foo]</li></ol>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ol><li>[foo]</li> </ol>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<p>[foo]</p> ",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ol><li>[foo]</li> </ol>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<p>[foo]</p> ",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>[foo]</li> </ol>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p> ",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>[foo]</li> </ol>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p> ",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>[foo]</li></ul>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>[foo]</li></ul>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ul><li>[foo]</li> </ul>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<p>[foo]</p> ",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ul><li>[foo]</li> </ul>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<p>[foo]</p> ",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>[foo]</li> </ul>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p> ",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>[foo]</li> </ul>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p> ",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>[foo]</p> <p>bar</p> <p>baz</p></blockquote>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p><blockquote> <p>bar</p> <p>baz</p></blockquote>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>[foo]</p> <p>bar</p> <p>baz</p></blockquote>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p><blockquote> <p>bar</p> <p>baz</p></blockquote>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>foo</p> <p>[bar]</p> <p>baz</p></blockquote>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<blockquote> <p>foo</p> </blockquote><p>[bar]</p><blockquote> <p>baz</p></blockquote>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>foo</p> <p>[bar]</p> <p>baz</p></blockquote>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<blockquote> <p>foo</p> </blockquote><p>[bar]</p><blockquote> <p>baz</p></blockquote>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>foo</p> <p>bar</p> <p>[baz]</p></blockquote>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<blockquote> <p>foo</p> <p>bar</p> </blockquote><p>[baz]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<blockquote> <p>foo</p> <p>bar</p> <p>[baz]</p></blockquote>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<blockquote> <p>foo</p> <p>bar</p> </blockquote><p>[baz]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>[foo]</li> <li>bar</li> <li>baz</li></ol>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p> <ol><li>bar</li> <li>baz</li></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>[foo]</li> <li>bar</li> <li>baz</li></ol>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p> <ol><li>bar</li> <li>baz</li></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>foo</li> <li>[bar]</li> <li>baz</li></ol>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<ol> <li>foo</li></ol> <p>[bar]</p> <ol><li>baz</li></ol>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>foo</li> <li>[bar]</li> <li>baz</li></ol>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<ol> <li>foo</li></ol> <p>[bar]</p> <ol><li>baz</li></ol>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>foo</li> <li>bar</li> <li>[baz]</li></ol>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<ol> <li>foo</li> <li>bar</li></ol> <p>[baz]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ol> <li>foo</li> <li>bar</li> <li>[baz]</li></ol>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<ol> <li>foo</li> <li>bar</li></ol> <p>[baz]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>[foo]</li> <li>bar</li> <li>baz</li></ul>",
+ [["stylewithcss","false"],["outdent",""]],
+ " <p>[foo]</p> <ul><li>bar</li> <li>baz</li></ul>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>[foo]</li> <li>bar</li> <li>baz</li></ul>",
+ [["stylewithcss","true"],["outdent",""]],
+ " <p>[foo]</p> <ul><li>bar</li> <li>baz</li></ul>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>foo</li> <li>[bar]</li> <li>baz</li></ul>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<ul> <li>foo</li></ul> <p>[bar]</p> <ul><li>baz</li></ul>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>foo</li> <li>[bar]</li> <li>baz</li></ul>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<ul> <li>foo</li></ul> <p>[bar]</p> <ul><li>baz</li></ul>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>foo</li> <li>bar</li> <li>[baz]</li></ul>",
+ [["stylewithcss","false"],["outdent",""]],
+ "<ul> <li>foo</li> <li>bar</li></ul> <p>[baz]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"outdent":[false,false,"",false,false,""]}],
+["<ul> <li>foo</li> <li>bar</li> <li>[baz]</li></ul>",
+ [["stylewithcss","true"],["outdent",""]],
+ "<ul> <li>foo</li> <li>bar</li></ul> <p>[baz]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"outdent":[false,false,"",false,false,""]}],
["<ol><li>[]a<table><tr><td><br></table></ol>",
[["stylewithcss","false"],["outdent",""]],
"<p>[]a</p><table><tbody><tr><td><br></td></tr></tbody></table>",
@@ -22457,11 +22985,11 @@
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["strikethrough",""]],
- "<p><s>[foo</s></p><p> <s><span>bar</span> </s></p><p><s>baz]</s></p>",
+ "<p><s>[foo</s></p><p> <s><span>bar</span></s> </p><p><s>baz]</s></p>",
{"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["strikethrough",""]],
- "<p><span style=\"text-decoration:line-through\">[foo</span></p><p> <span style=\"text-decoration:line-through\"><span>bar</span> </span></p><p><span style=\"text-decoration:line-through\">baz]</span></p>",
+ "<p><span style=\"text-decoration:line-through\">[foo</span></p><p> <span style=\"text-decoration:line-through\"><span>bar</span></span> </p><p><span style=\"text-decoration:line-through\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["strikethrough",""]],
@@ -23105,11 +23633,11 @@
{"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["subscript",""]],
- "<p><sub>[foo</sub></p><p> <sub><span>bar</span> </sub></p><p><sub>baz]</sub></p>",
+ "<p><sub>[foo</sub></p><p> <sub><span>bar</span></sub> </p><p><sub>baz]</sub></p>",
{"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["subscript",""]],
- "<p><sub>[foo</sub></p><p> <sub><span>bar</span> </sub></p><p><sub>baz]</sub></p>",
+ "<p><sub>[foo</sub></p><p> <sub><span>bar</span></sub> </p><p><sub>baz]</sub></p>",
{"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["subscript",""]],
@@ -23489,11 +24017,11 @@
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["superscript",""]],
- "<p><sup>[foo</sup></p><p> <sup><span>bar</span> </sup></p><p><sup>baz]</sup></p>",
+ "<p><sup>[foo</sup></p><p> <sup><span>bar</span></sup> </p><p><sup>baz]</sup></p>",
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["superscript",""]],
- "<p><sup>[foo</sup></p><p> <sup><span>bar</span> </sup></p><p><sup>baz]</sup></p>",
+ "<p><sup>[foo</sup></p><p> <sup><span>bar</span></sup> </p><p><sup>baz]</sup></p>",
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["superscript",""]],
@@ -23881,11 +24409,11 @@
{"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["underline",""]],
- "<p><u>[foo</u></p><p> <u><span>bar</span> </u></p><p><u>baz]</u></p>",
+ "<p><u>[foo</u></p><p> <u><span>bar</span></u> </p><p><u>baz]</u></p>",
{"stylewithcss":[false,true,"",false,false,""],"underline":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","true"],["underline",""]],
- "<p><span style=\"text-decoration:underline\">[foo</span></p><p> <span style=\"text-decoration:underline\"><span>bar</span> </span></p><p><span style=\"text-decoration:underline\">baz]</span></p>",
+ "<p><span style=\"text-decoration:underline\">[foo</span></p><p> <span style=\"text-decoration:underline\"><span>bar</span></span> </p><p><span style=\"text-decoration:underline\">baz]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["underline",""]],