--- a/conformancetest/data.js Wed Sep 21 11:18:04 2011 -0600
+++ b/conformancetest/data.js Mon Sep 19 15:35:44 2011 -0600
@@ -7,6 +7,38 @@
[["stylewithcss","true"],["backcolor","#00FFFF"]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p>[foo</p> <p>bar]</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)\">bar]</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>bar]</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)\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"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"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["backcolor","#00FFFF"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["backcolor","#00FFFF"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["backcolor","#00FFFF"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["backcolor","#00FFFF"]],
"<span>foo</span>{}<span>bar</span>",
@@ -31,13 +63,13 @@
[["stylewithcss","true"],["backcolor","#00FFFF"]],
"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
-["foo]bar[baz",
- [["stylewithcss","false"],["backcolor","#00FFFF"]],
- "foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","false"],["backcolor","#00FFFF"]],
+ "foo<span style=\"background-color:rgb(0, 255, 255)\">[bar</span><b><span style=\"background-color:rgb(0, 255, 255)\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
-["foo]bar[baz",
- [["stylewithcss","true"],["backcolor","#00FFFF"]],
- "foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","true"],["backcolor","#00FFFF"]],
+ "foo<span style=\"background-color:rgb(0, 255, 255)\">[bar</span><b><span style=\"background-color:rgb(0, 255, 255)\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["foo[bar<i>baz]qoz</i>quz",
[["stylewithcss","false"],["backcolor","#00FFFF"]],
@@ -47,6 +79,14 @@
[["stylewithcss","true"],["backcolor","#00FFFF"]],
"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar</span><i><span style=\"background-color:rgb(0, 255, 255)\">baz]</span>qoz</i>quz",
{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["backcolor","#00FFFF"]],
+ "{<p></p><p> </p><p><span style=\"background-color:rgb(0, 255, 255)\">foo</span></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgba(0, 0, 0, 0)"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["backcolor","#00FFFF"]],
+ "{<p></p><p> </p><p><span style=\"background-color:rgb(0, 255, 255)\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgba(0, 0, 0, 0)"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["backcolor","#00FFFF"]],
"<table><tbody><tr><td>foo</td><td>b<span style=\"background-color:rgb(0, 255, 255)\">[a]</span>r</td><td>baz</td></tr></tbody></table>",
@@ -287,6 +327,22 @@
[["stylewithcss","true"],["bold",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["bold",""]],
+ "<p><b>[foo</b></p> <p><b>bar]</b></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["bold",""]],
+ "<p><span style=\"font-weight:bold\">[foo</span></p> <p><span style=\"font-weight:bold\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["<b>foo[]bar</b>",
[["stylewithcss","false"],["bold",""]],
"<b>foo[]bar</b>",
@@ -295,6 +351,14 @@
[["stylewithcss","true"],["bold",""]],
"<b>foo[]bar</b>",
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["bold",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["bold",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["bold",""]],
"<span>foo</span>{}<span>bar</span>",
@@ -319,6 +383,14 @@
[["stylewithcss","true"],["bold",""]],
"foo<span style=\"font-weight:bold\">[bar]</span>baz",
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","false"],["bold",""]],
+ "foo<b>[barbaz]qoz</b>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"bold":[true,false,"",false,true,""]}],
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","true"],["bold",""]],
+ "foo<b>[barbaz]qoz</b>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"bold":[true,false,"",false,true,""]}],
["foo[bar<i>baz]qoz</i>quz",
[["stylewithcss","false"],["bold",""]],
"foo<b>[bar</b><i><b>baz]</b>qoz</i>quz",
@@ -327,6 +399,14 @@
[["stylewithcss","true"],["bold",""]],
"foo<span style=\"font-weight:bold\">[bar</span><i><span style=\"font-weight:bold\">baz]</span>qoz</i>quz",
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["bold",""]],
+ "{<p></p><p> </p><p><b>foo</b></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["bold",""]],
+ "{<p></p><p> </p><p><span style=\"font-weight:bold\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["foo<span contenteditable=false>[bar]</span>baz",
[["stylewithcss","false"],["bold",""]],
"foo<span contenteditable=\"false\">[bar]</span>baz",
@@ -1215,6 +1295,38 @@
[["stylewithcss","true"],["createlink","http://www.google.com/"]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
+["<p>[foo</p> <p>bar]</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/\">bar]</a></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
+["<p>[foo</p> <p>bar]</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/\">bar]</a></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["createlink","http://www.google.com/"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["createlink","http://www.google.com/"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<span>foo</span>{}<span>bar</span>",
@@ -1239,13 +1351,29 @@
[["stylewithcss","true"],["createlink","http://www.google.com/"]],
"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
{"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
-["foo]bar[baz",
- [["stylewithcss","false"],["createlink","http://www.google.com/"]],
- "foo<a href=\"http://www.google.com/\">[bar]</a>baz",
- {"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
-["foo]bar[baz",
- [["stylewithcss","true"],["createlink","http://www.google.com/"]],
- "foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "foo<a href=\"http://www.google.com/\">[bar</a><b><a href=\"http://www.google.com/\">baz]</a>qoz</b>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","true"],["createlink","http://www.google.com/"]],
+ "foo<a href=\"http://www.google.com/\">[bar</a><b><a href=\"http://www.google.com/\">baz]</a>qoz</b>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "foo<a href=\"http://www.google.com/\">[bar</a><i><a href=\"http://www.google.com/\">baz]</a>qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["createlink","http://www.google.com/"]],
+ "foo<a href=\"http://www.google.com/\">[bar</a><i><a href=\"http://www.google.com/\">baz]</a>qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "{<p></p><p> </p><p><a href=\"http://www.google.com/\">foo</a></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["createlink","http://www.google.com/"]],
+ "{<p></p><p> </p><p><a href=\"http://www.google.com/\">foo</a></p>}",
{"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
@@ -3735,6 +3863,38 @@
[["stylewithcss","true"],["fontname","sans-serif"]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["fontname","sans-serif"]],
+ "<p><font face=\"sans-serif\">[foo</font></p> <p><font face=\"sans-serif\">bar]</font></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["fontname","sans-serif"]],
+ "<p><span style=\"font-family:sans-serif\">[foo</span></p> <p><span style=\"font-family:sans-serif\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["fontname","sans-serif"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["fontname","sans-serif"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["fontname","sans-serif"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["fontname","sans-serif"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["fontname","sans-serif"]],
"<span>foo</span>{}<span>bar</span>",
@@ -3759,14 +3919,30 @@
[["stylewithcss","true"],["fontname","sans-serif"]],
"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
-["foo]bar[baz",
- [["stylewithcss","false"],["fontname","sans-serif"]],
- "foo<font face=\"sans-serif\">[bar]</font>baz",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","false"],["fontname","sans-serif"]],
+ "foo<font face=\"sans-serif\">[bar</font><b><font face=\"sans-serif\">baz]</font>qoz</b>quz",
{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
-["foo]bar[baz",
- [["stylewithcss","true"],["fontname","sans-serif"]],
- "foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","true"],["fontname","sans-serif"]],
+ "foo<span style=\"font-family:sans-serif\">[bar</span><b><span style=\"font-family:sans-serif\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["fontname","sans-serif"]],
+ "foo<font face=\"sans-serif\">[bar</font><i><font face=\"sans-serif\">baz]</font>qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["fontname","sans-serif"]],
+ "foo<span style=\"font-family:sans-serif\">[bar</span><i><span style=\"font-family:sans-serif\">baz]</span>qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["fontname","sans-serif"]],
+ "{<p></p><p> </p><p><font face=\"sans-serif\">foo</font></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"serif"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["fontname","sans-serif"]],
+ "{<p></p><p> </p><p><span style=\"font-family:sans-serif\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"serif"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["fontname","sans-serif"]],
"<table><tbody><tr><td>foo</td><td>b<font face=\"sans-serif\">[a]</font>r</td><td>baz</td></tr></tbody></table>",
@@ -4271,6 +4447,38 @@
[["stylewithcss","true"],["fontsize","4"]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["fontsize","4"]],
+ "<p><font size=\"4\">[foo</font></p> <p><font size=\"4\">bar]</font></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["fontsize","4"]],
+ "<p><span style=\"font-size:large\">[foo</span></p> <p><span style=\"font-size:large\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["fontsize","4"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["fontsize","4"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["fontsize","4"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["fontsize","4"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["fontsize","4"]],
"<span>foo</span>{}<span>bar</span>",
@@ -4288,6 +4496,38 @@
"<span>foo[</span><span>]bar</span>",
{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
["foo[bar]baz",
+ [["stylewithcss","false"],["fontsize","4"]],
+ "foo<font size=\"4\">[bar]</font>baz",
+ {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar]baz",
+ [["stylewithcss","true"],["fontsize","4"]],
+ "foo<span style=\"font-size:large\">[bar]</span>baz",
+ {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","false"],["fontsize","4"]],
+ "foo<font size=\"4\">[bar</font><b><font size=\"4\">baz]</font>qoz</b>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","true"],["fontsize","4"]],
+ "foo<span style=\"font-size:large\">[bar</span><b><span style=\"font-size:large\">baz]</span>qoz</b>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["fontsize","4"]],
+ "foo<font size=\"4\">[bar</font><i><font size=\"4\">baz]</font>qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["fontsize","4"]],
+ "foo<span style=\"font-size:large\">[bar</span><i><span style=\"font-size:large\">baz]</span>qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["fontsize","4"]],
+ "{<p></p><p> </p><p><font size=\"4\">foo</font></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["fontsize","4"]],
+ "{<p></p><p> </p><p><span style=\"font-size:large\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar]baz",
[["stylewithcss","false"],["fontsize","1"]],
"foo<font size=\"1\">[bar]</font>baz",
{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
@@ -4471,14 +4711,6 @@
[["stylewithcss","true"],["fontsize",""]],
"foo[bar]baz",
{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"3"]}],
-["foo[bar<i>baz]qoz</i>quz",
- [["stylewithcss","false"],["fontsize","4"]],
- "foo<font size=\"4\">[bar</font><i><font size=\"4\">baz]</font>qoz</i>quz",
- {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
-["foo[bar<i>baz]qoz</i>quz",
- [["stylewithcss","true"],["fontsize","4"]],
- "foo<span style=\"font-size:large\">[bar</span><i><span style=\"font-size:large\">baz]</span>qoz</i>quz",
- {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["fontsize","4"]],
"<table><tbody><tr><td>foo</td><td>b<font size=\"4\">[a]</font>r</td><td>baz</td></tr></tbody></table>",
@@ -4895,6 +5127,38 @@
[["stylewithcss","true"],["forecolor","#0000FF"]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["forecolor","#0000FF"]],
+ "<p><font color=\"#0000ff\">[foo</font></p> <p><font color=\"#0000ff\">bar]</font></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["forecolor","#0000FF"]],
+ "<p><span style=\"color:rgb(0, 0, 255)\">[foo</span></p> <p><span style=\"color:rgb(0, 0, 255)\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"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"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["forecolor","#0000FF"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["forecolor","#0000FF"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["forecolor","#0000FF"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["forecolor","#0000FF"]],
"<span>foo</span>{}<span>bar</span>",
@@ -4919,13 +5183,13 @@
[["stylewithcss","true"],["forecolor","#0000FF"]],
"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
-["foo]bar[baz",
- [["stylewithcss","false"],["forecolor","#0000FF"]],
- "foo<font color=\"#0000ff\">[bar]</font>baz",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","false"],["forecolor","#0000FF"]],
+ "foo<font color=\"#0000ff\">[bar</font><b><font color=\"#0000ff\">baz]</font>qoz</b>quz",
{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
-["foo]bar[baz",
- [["stylewithcss","true"],["forecolor","#0000FF"]],
- "foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","true"],["forecolor","#0000FF"]],
+ "foo<span style=\"color:rgb(0, 0, 255)\">[bar</span><b><span style=\"color:rgb(0, 0, 255)\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
["foo[bar<i>baz]qoz</i>quz",
[["stylewithcss","false"],["forecolor","#0000FF"]],
@@ -4935,6 +5199,14 @@
[["stylewithcss","true"],["forecolor","#0000FF"]],
"foo<span style=\"color:rgb(0, 0, 255)\">[bar</span><i><span style=\"color:rgb(0, 0, 255)\">baz]</span>qoz</i>quz",
{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["forecolor","#0000FF"]],
+ "{<p></p><p> </p><p><font color=\"#0000ff\">foo</font></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["forecolor","#0000FF"]],
+ "{<p></p><p> </p><p><span style=\"color:rgb(0, 0, 255)\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
["foo[bar]baz",
[["stylewithcss","false"],["forecolor","blue"]],
"foo<font color=\"#0000ff\">[bar]</font>baz",
@@ -9455,6 +9727,38 @@
[["stylewithcss","true"],["hilitecolor","#00FFFF"]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p>[foo</p> <p>bar]</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)\">bar]</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>bar]</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)\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"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"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["hilitecolor","#00FFFF"]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["hilitecolor","#00FFFF"]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
"<span>foo</span>{}<span>bar</span>",
@@ -9479,21 +9783,13 @@
[["stylewithcss","true"],["hilitecolor","#00FFFF"]],
"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
{"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
-["foo]bar[baz",
- [["stylewithcss","false"],["hilitecolor","#00FFFF"]],
- "foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+ "foo<span style=\"background-color:rgb(0, 255, 255)\">[bar</span><b><span style=\"background-color:rgb(0, 255, 255)\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,true,"",false,false,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
-["foo]bar[baz",
- [["stylewithcss","true"],["hilitecolor","#00FFFF"]],
- "foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
- {"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
-["{<p><p> <p>foo</p>}",
- [["stylewithcss","false"],["hilitecolor","#00FFFF"]],
- "{<p></p><p><span style=\"background-color:rgb(0, 255, 255)\"> </span></p><p><span style=\"background-color:rgb(0, 255, 255)\">foo</span></p>}",
- {"stylewithcss":[false,true,"",false,false,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
-["{<p><p> <p>foo</p>}",
- [["stylewithcss","true"],["hilitecolor","#00FFFF"]],
- "{<p></p><p><span style=\"background-color:rgb(0, 255, 255)\"> </span></p><p><span style=\"background-color:rgb(0, 255, 255)\">foo</span></p>}",
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","true"],["hilitecolor","#00FFFF"]],
+ "foo<span style=\"background-color:rgb(0, 255, 255)\">[bar</span><b><span style=\"background-color:rgb(0, 255, 255)\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["foo[bar<i>baz]qoz</i>quz",
[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
@@ -9503,6 +9799,14 @@
[["stylewithcss","true"],["hilitecolor","#00FFFF"]],
"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar</span><i><span style=\"background-color:rgb(0, 255, 255)\">baz]</span>qoz</i>quz",
{"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+ "{<p></p><p> </p><p><span style=\"background-color:rgb(0, 255, 255)\">foo</span></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgba(0, 0, 0, 0)"]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["hilitecolor","#00FFFF"]],
+ "{<p></p><p> </p><p><span style=\"background-color:rgb(0, 255, 255)\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgba(0, 0, 0, 0)"]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
"<table><tbody><tr><td>foo</td><td>b<span style=\"background-color:rgb(0, 255, 255)\">[a]</span>r</td><td>baz</td></tr></tbody></table>",
@@ -17167,6 +17471,38 @@
[["stylewithcss","true"],["italic",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["italic",""]],
+ "<p><i>[foo</i></p> <p><i>bar]</i></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"italic":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["italic",""]],
+ "<p><span style=\"font-style:italic\">[foo</span></p> <p><span style=\"font-style:italic\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["italic",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"italic":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["italic",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["italic",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"italic":[false,true,"",false,false,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["italic",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"italic":[false,true,"",false,false,""]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["italic",""]],
"<span>foo</span>{}<span>bar</span>",
@@ -17191,14 +17527,6 @@
[["stylewithcss","true"],["italic",""]],
"foo<span style=\"font-style:italic\">[bar]</span>baz",
{"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
-["foo]bar[baz",
- [["stylewithcss","false"],["italic",""]],
- "foo<i>[bar]</i>baz",
- {"stylewithcss":[false,true,"",false,false,""],"italic":[false,false,"",false,true,""]}],
-["foo]bar[baz",
- [["stylewithcss","true"],["italic",""]],
- "foo<span style=\"font-style:italic\">[bar]</span>baz",
- {"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
["foo[bar<b>baz]qoz</b>quz",
[["stylewithcss","false"],["italic",""]],
"foo<i>[bar</i><b><i>baz]</i>qoz</b>quz",
@@ -17207,6 +17535,22 @@
[["stylewithcss","true"],["italic",""]],
"foo<span style=\"font-style:italic\">[bar</span><b><span style=\"font-style:italic\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["italic",""]],
+ "foo<i>[barbaz]qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"italic":[true,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["italic",""]],
+ "foo<i>[barbaz]qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"italic":[true,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["italic",""]],
+ "{<p></p><p> </p><p><i>foo</i></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"italic":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["italic",""]],
+ "{<p></p><p> </p><p><span style=\"font-style:italic\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["italic",""]],
"<table><tbody><tr><td>foo</td><td>b<i>[a]</i>r</td><td>baz</td></tr></tbody></table>",
@@ -22031,6 +22375,38 @@
[["stylewithcss","true"],["strikethrough",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["strikethrough",""]],
+ "<p><s>[foo</s></p> <p><s>bar]</s></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["strikethrough",""]],
+ "<p><span style=\"text-decoration:line-through\">[foo</span></p> <p><span style=\"text-decoration:line-through\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["strikethrough",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["strikethrough",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["strikethrough",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["strikethrough",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["strikethrough",""]],
"<span>foo</span>{}<span>bar</span>",
@@ -22055,14 +22431,6 @@
[["stylewithcss","true"],["strikethrough",""]],
"foo<span style=\"text-decoration:line-through\">[bar]</span>baz",
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
-["foo]bar[baz",
- [["stylewithcss","false"],["strikethrough",""]],
- "foo<s>[bar]</s>baz",
- {"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
-["foo]bar[baz",
- [["stylewithcss","true"],["strikethrough",""]],
- "foo<span style=\"text-decoration:line-through\">[bar]</span>baz",
- {"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["foo[bar<b>baz]qoz</b>quz",
[["stylewithcss","false"],["strikethrough",""]],
"foo<s>[bar</s><b><s>baz]</s>qoz</b>quz",
@@ -22071,6 +22439,22 @@
[["stylewithcss","true"],["strikethrough",""]],
"foo<span style=\"text-decoration:line-through\">[bar</span><b><span style=\"text-decoration:line-through\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["strikethrough",""]],
+ "foo<s>[bar</s><i><s>baz]</s>qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["strikethrough",""]],
+ "foo<span style=\"text-decoration:line-through\">[bar</span><i><span style=\"text-decoration:line-through\">baz]</span>qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["strikethrough",""]],
+ "{<p></p><p> </p><p><s>foo</s></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["strikethrough",""]],
+ "{<p></p><p> </p><p><span style=\"text-decoration:line-through\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["strikethrough",""]],
"<table><tbody><tr><td>foo</td><td>b<s>[a]</s>r</td><td>baz</td></tr></tbody></table>",
@@ -22631,6 +23015,38 @@
[["stylewithcss","true"],["subscript",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["subscript",""]],
+ "<p><sub>[foo</sub></p> <p><sub>bar]</sub></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["subscript",""]],
+ "<p><sub>[foo</sub></p> <p><sub>bar]</sub></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["subscript",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["subscript",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["subscript",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["subscript",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["subscript",""]],
"<span>foo</span>{}<span>bar</span>",
@@ -22663,6 +23079,22 @@
[["stylewithcss","true"],["subscript",""]],
"foo<sub>[bar</sub><b><sub>baz]</sub>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["subscript",""]],
+ "foo<sub>[bar</sub><i><sub>baz]</sub>qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["subscript",""]],
+ "foo<sub>[bar</sub><i><sub>baz]</sub>qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["subscript",""]],
+ "{<p></p><p> </p><p><sub>foo</sub></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["subscript",""]],
+ "{<p></p><p> </p><p><sub>foo</sub></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["subscript",""]],
"<table><tbody><tr><td>foo</td><td>b<sub>[a]</sub>r</td><td>baz</td></tr></tbody></table>",
@@ -22959,6 +23391,38 @@
[["stylewithcss","true"],["superscript",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["superscript",""]],
+ "<p><sup>[foo</sup></p> <p><sup>bar]</sup></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["superscript",""]],
+ "<p><sup>[foo</sup></p> <p><sup>bar]</sup></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["superscript",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["superscript",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["superscript",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["superscript",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["superscript",""]],
"<span>foo</span>{}<span>bar</span>",
@@ -22991,6 +23455,22 @@
[["stylewithcss","true"],["superscript",""]],
"foo<sup>[bar</sup><b><sup>baz]</sup>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["superscript",""]],
+ "foo<sup>[bar</sup><i><sup>baz]</sup>qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["superscript",""]],
+ "foo<sup>[bar</sup><i><sup>baz]</sup>qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["superscript",""]],
+ "{<p></p><p> </p><p><sup>foo</sup></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["superscript",""]],
+ "{<p></p><p> </p><p><sup>foo</sup></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["superscript",""]],
"<table><tbody><tr><td>foo</td><td>b<sup>[a]</sup>r</td><td>baz</td></tr></tbody></table>",
@@ -23281,11 +23761,11 @@
{"stylewithcss":[false,false,"",false,true,""],"superscript":[true,false,"",false,true,""]}],
["foo<sup>[bar]<br></sup>",
[["stylewithcss","false"],["superscript",""]],
- "foo[bar]<sup><br></sup>",
+ "foo[bar]<br>",
{"stylewithcss":[false,true,"",false,false,""],"superscript":[false,true,"",false,false,""]}],
["foo<sup>[bar]<br></sup>",
[["stylewithcss","true"],["superscript",""]],
- "foo[bar]<sup><br></sup>",
+ "foo[bar]<br>",
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,true,"",false,false,""]}],
["foo[]bar",
[["stylewithcss","false"],["underline",""]],
@@ -23295,6 +23775,38 @@
[["stylewithcss","true"],["underline",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["underline",""]],
+ "<p><u>[foo</u></p> <p><u>bar]</u></p>",
+ {"stylewithcss":[false,true,"",false,false,""],"underline":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["underline",""]],
+ "<p><span style=\"text-decoration:underline\">[foo</span></p> <p><span style=\"text-decoration:underline\">bar]</span></p>",
+ {"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>",
+ {"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>",
+ {"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["underline",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"underline":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["underline",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["underline",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"underline":[false,false,"",false,true,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["underline",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["underline",""]],
"<span>foo</span>{}<span>bar</span>",
@@ -23319,14 +23831,6 @@
[["stylewithcss","true"],["underline",""]],
"foo<span style=\"text-decoration:underline\">[bar]</span>baz",
{"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
-["foo]bar[baz",
- [["stylewithcss","false"],["underline",""]],
- "foo<u>[bar]</u>baz",
- {"stylewithcss":[false,true,"",false,false,""],"underline":[false,false,"",false,true,""]}],
-["foo]bar[baz",
- [["stylewithcss","true"],["underline",""]],
- "foo<span style=\"text-decoration:underline\">[bar]</span>baz",
- {"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
["foo[bar<b>baz]qoz</b>quz",
[["stylewithcss","false"],["underline",""]],
"foo<u>[bar</u><b><u>baz]</u>qoz</b>quz",
@@ -23335,6 +23839,22 @@
[["stylewithcss","true"],["underline",""]],
"foo<span style=\"text-decoration:underline\">[bar</span><b><span style=\"text-decoration:underline\">baz]</span>qoz</b>quz",
{"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["underline",""]],
+ "foo<u>[bar</u><i><u>baz]</u>qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"underline":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["underline",""]],
+ "foo<span style=\"text-decoration:underline\">[bar</span><i><span style=\"text-decoration:underline\">baz]</span>qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["underline",""]],
+ "{<p></p><p> </p><p><u>foo</u></p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"underline":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["underline",""]],
+ "{<p></p><p> </p><p><span style=\"text-decoration:underline\">foo</span></p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
[["stylewithcss","false"],["underline",""]],
"<table><tbody><tr><td>foo</td><td>b<u>[a]</u>r</td><td>baz</td></tr></tbody></table>",
@@ -23895,6 +24415,38 @@
[["stylewithcss","true"],["unlink",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<p>[foo</p> <p>bar]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["<p>[foo</p> <p>bar]</p>",
+ [["stylewithcss","true"],["unlink",""]],
+ "<p>[foo</p> <p>bar]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+ [["stylewithcss","true"],["unlink",""]],
+ "<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["<b>foo[]bar</b>",
+ [["stylewithcss","true"],["unlink",""]],
+ "<b>foo[]bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["<i>foo[]bar</i>",
+ [["stylewithcss","true"],["unlink",""]],
+ "<i>foo[]bar</i>",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
["<span>foo</span>{}<span>bar</span>",
[["stylewithcss","false"],["unlink",""]],
"<span>foo</span>{}<span>bar</span>",
@@ -23911,6 +24463,38 @@
[["stylewithcss","true"],["unlink",""]],
"<span>foo[</span><span>]bar</span>",
{"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["foo[bar]baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[bar]baz",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["foo[bar]baz",
+ [["stylewithcss","true"],["unlink",""]],
+ "foo[bar]baz",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[bar<b>baz]qoz</b>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["foo[bar<b>baz]qoz</b>quz",
+ [["stylewithcss","true"],["unlink",""]],
+ "foo[bar<b>baz]qoz</b>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[bar<i>baz]qoz</i>quz",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+ [["stylewithcss","true"],["unlink",""]],
+ "foo[bar<i>baz]qoz</i>quz",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","false"],["unlink",""]],
+ "{<p></p><p> </p><p>foo</p>}",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["{<p><p> <p>foo</p>}",
+ [["stylewithcss","true"],["unlink",""]],
+ "{<p></p><p> </p><p>foo</p>}",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
["<a href=http://www.google.com/>foo[bar]baz</a>",
[["stylewithcss","false"],["unlink",""]],
"foo[bar]baz",