Add preliminary conformance tests
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Fri, 02 Sep 2011 16:05:32 -0600
changeset 559 71b92c9eaaa8
parent 558 c990babdb668
child 560 460ece410c7e
Add preliminary conformance tests

This begins to fix http://www.w3.org/Bugs/Public/show_bug.cgi?id=13956.
They're still a fair way from being ready for real use. Documentation
is in the spec.
conformancetest/data.js
conformancetest/gentest.html
conformancetest/runtest.html
editing.html
source.html
tests.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/conformancetest/data.js	Fri Sep 02 16:05:32 2011 -0600
@@ -0,0 +1,16494 @@
+var browserTests = [
+["foo[]bar",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo[]bar",
+	[]],
+["foo[]bar",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo[]bar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo]bar[baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo]bar[baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["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",
+	[]],
+["foo[bar<i>baz]qoz</i>quz",
+	[["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",
+	[]],
+["<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>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","true"],["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>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<table><tbody><tr><td>foo</td>{<td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<table><tbody><tr><td>foo</td>{<td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<table><tbody><tr>{<td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<table><tbody><tr>{<td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<table><tbody>{<tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr>}</tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<table><tbody>{<tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<table>{<tbody><tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr></tbody>}</table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<table>{<tbody><tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"{<table><tbody><tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr></tbody></table>}",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"{<table><tbody><tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr></tbody></table>}",
+	[]],
+["<p style=\"background-color: rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["<p style=\"background-color: rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["<p style=\"background-color: #00ffff\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["<p style=\"background-color: #00ffff\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["<p style=\"background-color: aqua\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["<p style=\"background-color: aqua\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["{<p style=\"background-color: aqua\">foo</p><p>bar</p>}",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"{<p style=\"background-color:rgb(0, 255, 255)\">foo</p><p><span style=\"background-color:rgb(0, 255, 255)\">bar</span></p>}",
+	[]],
+["{<p style=\"background-color: aqua\">foo</p><p>bar</p>}",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"{<p style=\"background-color:rgb(0, 255, 255)\">foo</p><p><span style=\"background-color:rgb(0, 255, 255)\">bar</span></p>}",
+	[]],
+["<span style=\"background-color: aqua\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: aqua\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: #00ffff\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: #00ffff\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: #0ff\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: #0ff\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: rgb(0, 255, 255)\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: rgb(0, 255, 255)\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: aqua\">foo<span style=\"background-color: tan\">b[ar]</span>baz</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo<span style=\"background-color:rgb(210, 180, 140)\">b</span>[ar]baz</span>",
+	[]],
+["<span style=\"background-color: aqua\">foo<span style=\"background-color: tan\">b[ar]</span>baz</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo<span style=\"background-color:rgb(210, 180, 140)\">b</span>[ar]baz</span>",
+	[]],
+["<p style=\"background-color: aqua\">foo<span style=\"background-color: tan\">b[ar]</span>baz</p>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo<span style=\"background-color:rgb(210, 180, 140)\">b</span>[ar]baz</p>",
+	[]],
+["<p style=\"background-color: aqua\">foo<span style=\"background-color: tan\">b[ar]</span>baz</p>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo<span style=\"background-color:rgb(210, 180, 140)\">b</span>[ar]baz</p>",
+	[]],
+["<div style=\"background-color: aqua\"><p style=\"background-color: tan\">b[ar]</p></div>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<div style=\"background-color:rgb(0, 255, 255)\"><p style=\"background-color:rgb(210, 180, 140)\">b<span style=\"background-color:rgb(0, 255, 255)\">[ar]</span></p></div>",
+	[]],
+["<div style=\"background-color: aqua\"><p style=\"background-color: tan\">b[ar]</p></div>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<div style=\"background-color:rgb(0, 255, 255)\"><p style=\"background-color:rgb(210, 180, 140)\">b<span style=\"background-color:rgb(0, 255, 255)\">[ar]</span></p></div>",
+	[]],
+["<span style=\"display: block; background-color: aqua\"><span style=\"display: block; background-color: tan\">b[ar]</span></span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"display:block; background-color:rgb(0, 255, 255)\"><span style=\"display:block; background-color:rgb(210, 180, 140)\">b<span style=\"background-color:rgb(0, 255, 255)\">[ar]</span></span></span>",
+	[]],
+["<span style=\"display: block; background-color: aqua\"><span style=\"display: block; background-color: tan\">b[ar]</span></span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"display:block; background-color:rgb(0, 255, 255)\"><span style=\"display:block; background-color:rgb(210, 180, 140)\">b<span style=\"background-color:rgb(0, 255, 255)\">[ar]</span></span></span>",
+	[]],
+["fo[o<span style=background-color:tan>b]ar</span>baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span><span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>baz",
+	[]],
+["fo[o<span style=background-color:tan>b]ar</span>baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span><span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>baz",
+	[]],
+["foo<span style=background-color:tan>ba[r</span>b]az",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(210, 180, 140)\">ba<span style=\"background-color:rgb(0, 255, 255)\">[r</span></span><span style=\"background-color:rgb(0, 255, 255)\">b]</span>az",
+	[]],
+["foo<span style=background-color:tan>ba[r</span>b]az",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(210, 180, 140)\">ba<span style=\"background-color:rgb(0, 255, 255)\">[r</span></span><span style=\"background-color:rgb(0, 255, 255)\">b]</span>az",
+	[]],
+["fo[o<span style=background-color:tan>bar</span>b]az",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"fo<span style=\"background-color:rgb(0, 255, 255)\">[obarb]</span>az",
+	[]],
+["fo[o<span style=background-color:tan>bar</span>b]az",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"fo<span style=\"background-color:rgb(0, 255, 255)\">[obarb]</span>az",
+	[]],
+["foo[<span style=background-color:tan>b]ar</span>baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo[<span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>baz",
+	[]],
+["foo[<span style=background-color:tan>b]ar</span>baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo[<span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>baz",
+	[]],
+["foo<span style=background-color:tan>ba[r</span>]baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(210, 180, 140)\">ba<span style=\"background-color:rgb(0, 255, 255)\">[r</span></span>]baz",
+	[]],
+["foo<span style=background-color:tan>ba[r</span>]baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(210, 180, 140)\">ba<span style=\"background-color:rgb(0, 255, 255)\">[r</span></span>]baz",
+	[]],
+["foo[<span style=background-color:tan>bar</span>]baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo[<span style=\"background-color:rgb(0, 255, 255)\">bar</span>]baz",
+	[]],
+["foo[<span style=background-color:tan>bar</span>]baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo[<span style=\"background-color:rgb(0, 255, 255)\">bar</span>]baz",
+	[]],
+["foo<span style=background-color:tan>[bar]</span>baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo<span style=background-color:tan>[bar]</span>baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo{<span style=background-color:tan>bar</span>}baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo{<span style=\"background-color:rgb(0, 255, 255)\">bar}</span>baz",
+	[]],
+["foo{<span style=background-color:tan>bar</span>}baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo{<span style=\"background-color:rgb(0, 255, 255)\">bar}</span>baz",
+	[]],
+["<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b]ar</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span></span><span style=\"background-color:rgb(255, 255, 0)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>",
+	[]],
+["<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b]ar</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span></span><span style=\"background-color:rgb(255, 255, 0)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>",
+	[]],
+["<span style=background-color:tan>fo[o</span><span style=background-color:tan>b]ar</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span></span><span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>",
+	[]],
+["<span style=background-color:tan>fo[o</span><span style=background-color:tan>b]ar</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span></span><span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>",
+	[]],
+["<span style=background-color:tan>fo[o<span style=background-color:transparent>b]ar</span></span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span><span style=\"background-color:rgba(0, 0, 0, 0)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span></span>",
+	[]],
+["<span style=background-color:tan>fo[o<span style=background-color:transparent>b]ar</span></span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span><span style=\"background-color:rgba(0, 0, 0, 0)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span></span>",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[]bar",
+	[]],
+["foo[]bar",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[]bar",
+	[]],
+["<b>foo[]bar</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo[]bar</b>",
+	[]],
+["<b>foo[]bar</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo[]bar</b>",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[]],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar</b><i><b>baz]</b>qoz</i>quz",
+	[]],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar</span><i><span style=\"font-weight:bold\">baz]</span>qoz</i>quz",
+	[]],
+["foo<span contenteditable=false>[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<span contenteditable=\"false\">[bar]</span>baz",
+	[]],
+["foo<span contenteditable=false>[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span contenteditable=\"false\">[bar]</span>baz",
+	[]],
+["fo[o<span contenteditable=false>bar</span>b]az",
+	[["stylewithcss","false"],["bold",""]],
+	"fo<b>[o</b><span contenteditable=\"false\">bar</span><b>b]</b>az",
+	[]],
+["fo[o<span contenteditable=false>bar</span>b]az",
+	[["stylewithcss","true"],["bold",""]],
+	"fo<span style=\"font-weight:bold\">[o</span><span contenteditable=\"false\">bar</span><span style=\"font-weight:bold\">b]</span>az",
+	[]],
+["foo<span contenteditable=false>ba[r</span>b]az",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<span contenteditable=\"false\">ba[r</span><b>b]</b>az",
+	[]],
+["foo<span contenteditable=false>ba[r</span>b]az",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span contenteditable=\"false\">ba[r</span><span style=\"font-weight:bold\">b]</span>az",
+	[]],
+["fo[o<span contenteditable=false>b]ar</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"fo<b>[o</b><span contenteditable=\"false\">b]ar</span>baz",
+	[]],
+["fo[o<span contenteditable=false>b]ar</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"fo<span style=\"font-weight:bold\">[o</span><span contenteditable=\"false\">b]ar</span>baz",
+	[]],
+["fo[<b>o</b><span contenteditable=false>bar</span><b>b</b>]az",
+	[["stylewithcss","false"],["bold",""]],
+	"fo[o<span contenteditable=\"false\">bar</span>b]az",
+	[]],
+["fo[<b>o</b><span contenteditable=false>bar</span><b>b</b>]az",
+	[["stylewithcss","true"],["bold",""]],
+	"fo[o<span contenteditable=\"false\">bar</span>b]az",
+	[]],
+["<span contenteditable=false>foo<span contenteditable=true>[bar]</span>baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span contenteditable=\"false\">foo<span contenteditable=\"true\"><b>[bar]</b></span>baz</span>",
+	[]],
+["<span contenteditable=false>foo<span contenteditable=true>[bar]</span>baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span contenteditable=\"false\">foo<span contenteditable=\"true\"><span style=\"font-weight:bold\">[bar]</span></span>baz</span>",
+	[]],
+["<span contenteditable=false>fo[o<span contenteditable=true>bar</span>b]az</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span contenteditable=\"false\">fo[o<span contenteditable=\"true\"><b>bar</b></span>b]az</span>",
+	[]],
+["<span contenteditable=false>fo[o<span contenteditable=true>bar</span>b]az</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span contenteditable=\"false\">fo[o<span contenteditable=\"true\"><span style=\"font-weight:bold\">bar</span></span>b]az</span>",
+	[]],
+["<span contenteditable=false>foo<span contenteditable=true>ba[r</span>b]az</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span contenteditable=\"false\">foo<span contenteditable=\"true\">ba<b>[r</b></span>b]az</span>",
+	[]],
+["<span contenteditable=false>foo<span contenteditable=true>ba[r</span>b]az</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span contenteditable=\"false\">foo<span contenteditable=\"true\">ba<span style=\"font-weight:bold\">[r</span></span>b]az</span>",
+	[]],
+["<span contenteditable=false>fo[o<span contenteditable=true>b]ar</span>baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span contenteditable=\"false\">fo[o<span contenteditable=\"true\"><b>b]</b>ar</span>baz</span>",
+	[]],
+["<span contenteditable=false>fo[o<span contenteditable=true>b]ar</span>baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span contenteditable=\"false\">fo[o<span contenteditable=\"true\"><span style=\"font-weight:bold\">b]</span>ar</span>baz</span>",
+	[]],
+["<span contenteditable=false>fo[<b>o<span contenteditable=true>bar</span>b</b>]az</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span contenteditable=\"false\">fo[<b>o<span contenteditable=\"true\"><span style=\"font-weight:normal\">bar</span></span>b</b>]az</span>",
+	[]],
+["<span contenteditable=false>fo[<b>o<span contenteditable=true>bar</span>b</b>]az</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span contenteditable=\"false\">fo[<b>o<span contenteditable=\"true\"><span style=\"font-weight:normal\">bar</span></span>b</b>]az</span>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","false"],["bold",""]],
+	"<table><tbody><tr><td>foo</td><td>b<b>[a]</b>r</td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","true"],["bold",""]],
+	"<table><tbody><tr><td>foo</td><td>b<span style=\"font-weight:bold\">[a]</span>r</td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["bold",""]],
+	"<table><tbody><tr><td>foo</td>{<td><b>bar</b></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["bold",""]],
+	"<table><tbody><tr><td>foo</td>{<td><span style=\"font-weight:bold\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["bold",""]],
+	"<table><tbody><tr>{<td><b>foo</b></td><td><b>bar</b></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["bold",""]],
+	"<table><tbody><tr>{<td><span style=\"font-weight:bold\">foo</span></td><td><span style=\"font-weight:bold\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["bold",""]],
+	"<table><tbody>{<tr><td><b>foo</b></td><td><b>bar</b></td><td><b>baz</b></td></tr>}</tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["bold",""]],
+	"<table><tbody>{<tr><td><span style=\"font-weight:bold\">foo</span></td><td><span style=\"font-weight:bold\">bar</span></td><td><span style=\"font-weight:bold\">baz</span></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["bold",""]],
+	"<table>{<tbody><tr><td><b>foo</b></td><td><b>bar</b></td><td><b>baz</b></td></tr></tbody>}</table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["bold",""]],
+	"<table>{<tbody><tr><td><span style=\"font-weight:bold\">foo</span></td><td><span style=\"font-weight:bold\">bar</span></td><td><span style=\"font-weight:bold\">baz</span></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["bold",""]],
+	"{<table><tbody><tr><td><b>foo</b></td><td><b>bar</b></td><td><b>baz</b></td></tr></tbody></table>}",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","true"],["bold",""]],
+	"{<table><tbody><tr><td><span style=\"font-weight:bold\">foo</span></td><td><span style=\"font-weight:bold\">bar</span></td><td><span style=\"font-weight:bold\">baz</span></td></tr></tbody></table>}",
+	[]],
+["foo<span style=\"font-weight: bold\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: bold\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<b>bar</b>[baz]",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>bar[baz]</b>",
+	[]],
+["foo<b>bar</b>[baz]",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<b>bar[baz]</b>",
+	[]],
+["[foo]<b>bar</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>[foo]bar</b>baz",
+	[]],
+["[foo]<b>bar</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>[foo]bar</b>baz",
+	[]],
+["<b>foo</b>[bar]<b>baz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[]],
+["<b>foo</b>[bar]<b>baz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[]],
+["foo<strong>bar</strong>[baz]",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<strong>bar[baz]</strong>",
+	[]],
+["foo<strong>bar</strong>[baz]",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<strong>bar[baz]</strong>",
+	[]],
+["[foo]<strong>bar</strong>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"<strong>[foo]bar</strong>baz",
+	[]],
+["[foo]<strong>bar</strong>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"<strong>[foo]bar</strong>baz",
+	[]],
+["<strong>foo</strong>[bar]<strong>baz</strong>",
+	[["stylewithcss","false"],["bold",""]],
+	"<strong>foo[bar]baz</strong>",
+	[]],
+["<strong>foo</strong>[bar]<strong>baz</strong>",
+	[["stylewithcss","true"],["bold",""]],
+	"<strong>foo[bar]baz</strong>",
+	[]],
+["<b>foo</b>[bar]<strong>baz</strong>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[]],
+["<b>foo</b>[bar]<strong>baz</strong>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[]],
+["<strong>foo</strong>[bar]<b>baz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<strong>foo[bar]baz</strong>",
+	[]],
+["<strong>foo</strong>[bar]<b>baz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<strong>foo[bar]baz</strong>",
+	[]],
+["foo[<b>bar</b>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<b>bar</b>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<b>bar]</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<b>bar]</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<b>[bar</b>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<b>[bar</b>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo{<b></b>}baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo{<b></b>}baz",
+	[]],
+["foo{<b></b>}baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo{<b></b>}baz",
+	[]],
+["foo{<i></i>}baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo{<i></i>}baz",
+	[]],
+["foo{<i></i>}baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo{<i></i>}baz",
+	[]],
+["foo{<b><i></i></b>}baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo{<b><i></i></b>}baz",
+	[]],
+["foo{<b><i></i></b>}baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo{<b><i></i></b>}baz",
+	[]],
+["foo{<i><b></b></i>}baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo{<i><b></b></i>}baz",
+	[]],
+["foo{<i><b></b></i>}baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo{<i><b></b></i>}baz",
+	[]],
+["foo<strong>[bar]</strong>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<strong>[bar]</strong>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<strong>bar</strong>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<strong>bar</strong>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<strong>bar]</strong>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<strong>bar]</strong>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<strong>[bar</strong>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<strong>[bar</strong>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: bold\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: bold\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<span style=\"font-weight: bold\">bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<span style=\"font-weight: bold\">bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<span style=\"font-weight: bold\">bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<span style=\"font-weight: bold\">bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: bold\">[bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: bold\">[bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["<b>{<p>foo</p><p>bar</p>}<p>baz</p></b>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<p>foo</p><p>bar</p>}<p><b>baz</b></p>",
+	[]],
+["<b>{<p>foo</p><p>bar</p>}<p>baz</p></b>",
+	[["stylewithcss","true"],["bold",""]],
+	"{<p>foo</p><p>bar</p>}<p><span style=\"font-weight:bold\">baz</span></p>",
+	[]],
+["<b><p>foo[<i>bar</i>}</p><p>baz</p></b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<p><b>foo[</b><i>bar</i>}</p><p><b>baz</b></p>",
+	[]],
+["<b><p>foo[<i>bar</i>}</p><p>baz</p></b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<p><span style=\"font-weight:bold\">foo[</span><i>bar</i>}</p><p><span style=\"font-weight:bold\">baz</span></p>",
+	[]],
+["foo [bar <b>baz] qoz</b> quz sic",
+	[["stylewithcss","false"],["bold",""]],
+	"foo <b>[bar baz] qoz</b> quz sic",
+	[]],
+["foo [bar <b>baz] qoz</b> quz sic",
+	[["stylewithcss","true"],["bold",""]],
+	"foo <b>[bar baz] qoz</b> quz sic",
+	[]],
+["foo bar <b>baz [qoz</b> quz] sic",
+	[["stylewithcss","false"],["bold",""]],
+	"foo bar <b>baz [qoz quz]</b> sic",
+	[]],
+["foo bar <b>baz [qoz</b> quz] sic",
+	[["stylewithcss","true"],["bold",""]],
+	"foo bar <b>baz [qoz quz]</b> sic",
+	[]],
+["<b id=purple>bar [baz] qoz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span id=\"purple\"><b>bar </b>[baz]<b> qoz</b></span>",
+	[]],
+["<b id=purple>bar [baz] qoz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span id=\"purple\"><span style=\"font-weight:bold\">bar </span>[baz]<span style=\"font-weight:bold\"> qoz</span></span>",
+	[]],
+["foo<span style=\"font-weight: 100\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[]],
+["foo<span style=\"font-weight: 100\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[]],
+["foo<span style=\"font-weight: 200\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[]],
+["foo<span style=\"font-weight: 200\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[]],
+["foo<span style=\"font-weight: 300\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[]],
+["foo<span style=\"font-weight: 300\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[]],
+["foo<span style=\"font-weight: 400\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[]],
+["foo<span style=\"font-weight: 400\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[]],
+["foo<span style=\"font-weight: 500\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[]],
+["foo<span style=\"font-weight: 500\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[]],
+["foo<span style=\"font-weight: 600\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 600\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 700\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 700\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 800\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 800\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 900\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 900\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 400\">[bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar</b>]baz",
+	[]],
+["foo<span style=\"font-weight: 400\">[bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar</span>]baz",
+	[]],
+["foo<span style=\"font-weight: 700\">[bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<span style=\"font-weight: 700\">[bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<span style=\"font-weight: 400\">bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[<b>bar]</b>baz",
+	[]],
+["foo[<span style=\"font-weight: 400\">bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[<span style=\"font-weight:bold\">bar]</span>baz",
+	[]],
+["foo[<span style=\"font-weight: 700\">bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<span style=\"font-weight: 700\">bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<span style=\"font-weight: 400\">bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[<b>bar</b>]baz",
+	[]],
+["foo[<span style=\"font-weight: 400\">bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[<span style=\"font-weight:bold\">bar</span>]baz",
+	[]],
+["foo[<span style=\"font-weight: 700\">bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<span style=\"font-weight: 700\">bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["<span style=\"font-weight: 100\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:100\">foo<b>[bar]</b>baz</span>",
+	[]],
+["<span style=\"font-weight: 100\">foo[bar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:100\">foo<span style=\"font-weight:bold\">[bar]</span>baz</span>",
+	[]],
+["<span style=\"font-weight: 400\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:400\">foo<b>[bar]</b>baz</span>",
+	[]],
+["<span style=\"font-weight: 400\">foo[bar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:400\">foo<span style=\"font-weight:bold\">[bar]</span>baz</span>",
+	[]],
+["<span style=\"font-weight: 700\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo</b>[bar]<b>baz</b>",
+	[]],
+["<span style=\"font-weight: 700\">foo[bar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:700\">foo</span>[bar]<span style=\"font-weight:700\">baz</span>",
+	[]],
+["<span style=\"font-weight: 900\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:900\">foo</span>[bar]<span style=\"font-weight:900\">baz</span>",
+	[]],
+["<span style=\"font-weight: 900\">foo[bar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:900\">foo</span>[bar]<span style=\"font-weight:900\">baz</span>",
+	[]],
+["{<span style=\"font-weight: 100\">foobar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<span style=\"font-weight:100\"><b>foobar]</b>baz</span>",
+	[]],
+["{<span style=\"font-weight: 100\">foobar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"{<span style=\"font-weight:100\"><span style=\"font-weight:bold\">foobar]</span>baz</span>",
+	[]],
+["{<span style=\"font-weight: 400\">foobar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<span style=\"font-weight:400\"><b>foobar]</b>baz</span>",
+	[]],
+["{<span style=\"font-weight: 400\">foobar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"{<span style=\"font-weight:400\"><span style=\"font-weight:bold\">foobar]</span>baz</span>",
+	[]],
+["{<span style=\"font-weight: 700\">foobar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"{foobar]<b>baz</b>",
+	[]],
+["{<span style=\"font-weight: 700\">foobar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"{foobar]<span style=\"font-weight:700\">baz</span>",
+	[]],
+["{<span style=\"font-weight: 900\">foobar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"{foobar]<span style=\"font-weight:900\">baz</span>",
+	[]],
+["{<span style=\"font-weight: 900\">foobar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"{foobar]<span style=\"font-weight:900\">baz</span>",
+	[]],
+["<span style=\"font-weight: 100\">foo[barbaz</span>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:100\">foo<b>[barbaz</b></span>}",
+	[]],
+["<span style=\"font-weight: 100\">foo[barbaz</span>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:100\">foo<span style=\"font-weight:bold\">[barbaz</span></span>}",
+	[]],
+["<span style=\"font-weight: 400\">foo[barbaz</span>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:400\">foo<b>[barbaz</b></span>}",
+	[]],
+["<span style=\"font-weight: 400\">foo[barbaz</span>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:400\">foo<span style=\"font-weight:bold\">[barbaz</span></span>}",
+	[]],
+["<span style=\"font-weight: 700\">foo[barbaz</span>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo</b>[barbaz}",
+	[]],
+["<span style=\"font-weight: 700\">foo[barbaz</span>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:700\">foo</span>[barbaz}",
+	[]],
+["<span style=\"font-weight: 900\">foo[barbaz</span>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:900\">foo</span>[barbaz}",
+	[]],
+["<span style=\"font-weight: 900\">foo[barbaz</span>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:900\">foo</span>[barbaz}",
+	[]],
+["<h3>foo[bar]baz</h3>",
+	[["stylewithcss","false"],["bold",""]],
+	"<h3>foo<span style=\"font-weight:normal\">[bar]</span>baz</h3>",
+	[]],
+["<h3>foo[bar]baz</h3>",
+	[["stylewithcss","true"],["bold",""]],
+	"<h3>foo<span style=\"font-weight:normal\">[bar]</span>baz</h3>",
+	[]],
+["{<h3>foobar]baz</h3>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobar]</span>baz</h3>",
+	[]],
+["{<h3>foobar]baz</h3>",
+	[["stylewithcss","true"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobar]</span>baz</h3>",
+	[]],
+["<h3>foo[barbaz</h3>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<h3>foo<span style=\"font-weight:normal\">[barbaz</span></h3>}",
+	[]],
+["<h3>foo[barbaz</h3>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<h3>foo<span style=\"font-weight:normal\">[barbaz</span></h3>}",
+	[]],
+["<h3>[foobarbaz]</h3>",
+	[["stylewithcss","false"],["bold",""]],
+	"<h3><span style=\"font-weight:normal\">[foobarbaz]</span></h3>",
+	[]],
+["<h3>[foobarbaz]</h3>",
+	[["stylewithcss","true"],["bold",""]],
+	"<h3><span style=\"font-weight:normal\">[foobarbaz]</span></h3>",
+	[]],
+["{<h3>foobarbaz]</h3>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobarbaz]</span></h3>",
+	[]],
+["{<h3>foobarbaz]</h3>",
+	[["stylewithcss","true"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobarbaz]</span></h3>",
+	[]],
+["<h3>[foobarbaz</h3>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<h3><span style=\"font-weight:normal\">[foobarbaz</span></h3>}",
+	[]],
+["<h3>[foobarbaz</h3>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<h3><span style=\"font-weight:normal\">[foobarbaz</span></h3>}",
+	[]],
+["{<h3>foobarbaz</h3>}",
+	[["stylewithcss","false"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobarbaz</span></h3>}",
+	[]],
+["{<h3>foobarbaz</h3>}",
+	[["stylewithcss","true"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobarbaz</span></h3>}",
+	[]],
+["<b>foo<span style=\"font-weight: normal\">bar<b>[baz]</b>quz</span>qoz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo<span style=\"font-weight:normal\">bar[baz]quz</span>qoz</b>",
+	[]],
+["<b>foo<span style=\"font-weight: normal\">bar<b>[baz]</b>quz</span>qoz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo<span style=\"font-weight:normal\">bar[baz]quz</span>qoz</b>",
+	[]],
+["<b>foo<span style=\"font-weight: normal\">[bar]</span>baz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[]],
+["<b>foo<span style=\"font-weight: normal\">[bar]</span>baz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[]],
+["{<b>foo</b> <b>bar</b>}",
+	[["stylewithcss","false"],["bold",""]],
+	"{<b>foo bar}</b>",
+	[]],
+["{<b>foo</b> <b>bar</b>}",
+	[["stylewithcss","true"],["bold",""]],
+	"{<span style=\"font-weight:bold\">foo bar}</span>",
+	[]],
+["{<h3>foo</h3><b>bar</b>}",
+	[["stylewithcss","false"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foo</span></h3>bar}",
+	[]],
+["{<h3>foo</h3><b>bar</b>}",
+	[["stylewithcss","true"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foo</span></h3>bar}",
+	[]],
+["<i><b>foo</b></i>[bar]<i><b>baz</b></i>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b><i>foo</i>[bar]<i>baz</i></b>",
+	[]],
+["<i><b>foo</b></i>[bar]<i><b>baz</b></i>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b><i>foo</i>[bar]<i>baz</i></b>",
+	[]],
+["<i><b>foo</b></i>[bar]<b>baz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b><i>foo</i>[bar]baz</b>",
+	[]],
+["<i><b>foo</b></i>[bar]<b>baz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b><i>foo</i>[bar]baz</b>",
+	[]],
+["<b>foo</b>[bar]<i><b>baz</b></i>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo[bar]<i>baz</i></b>",
+	[]],
+["<b>foo</b>[bar]<i><b>baz</b></i>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo[bar]<i>baz</i></b>",
+	[]],
+["<font color=blue face=monospace><b>foo</b></font>[bar]",
+	[["stylewithcss","false"],["bold",""]],
+	"<b><font color=\"blue\" face=\"monospace\">foo</font>[bar]</b>",
+	[]],
+["<font color=blue face=monospace><b>foo</b></font>[bar]",
+	[["stylewithcss","true"],["bold",""]],
+	"<b><font color=\"blue\" face=\"monospace\">foo</font>[bar]</b>",
+	[]],
+["foo<span style=\"font-weight: normal\"><b>{bar}</b></span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo{bar}baz",
+	[]],
+["foo<span style=\"font-weight: normal\"><b>{bar}</b></span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo{bar}baz",
+	[]],
+["[foo<span class=notbold>bar</span>baz]",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>[foo<span class=\"notbold\"><b>bar</b></span>baz]</b>",
+	[]],
+["[foo<span class=notbold>bar</span>baz]",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:bold\">[foo<span class=\"notbold\"><span style=\"font-weight:bold\">bar</span></span>baz]</span>",
+	[]],
+["<b><span class=notbold>[foo]</span></b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span class=\"notbold\"><b>[foo]</b></span>",
+	[]],
+["<b><span class=notbold>[foo]</span></b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span class=\"notbold\"><span style=\"font-weight:bold\">[foo]</span></span>",
+	[]],
+["<b><span class=notbold>foo[bar]baz</span></b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b><span class=\"notbold\">foo<b>[bar]</b>baz</span></b>",
+	[]],
+["<b><span class=notbold>foo[bar]baz</span></b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b><span class=\"notbold\">foo<span style=\"font-weight:bold\">[bar]</span>baz</span></b>",
+	[]],
+["<p style=\"font-weight: bold\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["bold",""]],
+	"<p><b>foo</b>[bar]<b>baz</b></p>",
+	[]],
+["<p style=\"font-weight: bold\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["bold",""]],
+	"<p><span style=\"font-weight:bold\">foo</span>[bar]<span style=\"font-weight:bold\">baz</span></p>",
+	[]],
+["fo[o<b>b]ar</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"fo<b>[ob]ar</b>baz",
+	[]],
+["fo[o<b>b]ar</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"fo<b>[ob]ar</b>baz",
+	[]],
+["foo<b>ba[r</b>b]az",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>ba[rb]</b>az",
+	[]],
+["foo<b>ba[r</b>b]az",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<b>ba[rb]</b>az",
+	[]],
+["fo[o<b>bar</b>b]az",
+	[["stylewithcss","false"],["bold",""]],
+	"fo<b>[obarb]</b>az",
+	[]],
+["fo[o<b>bar</b>b]az",
+	[["stylewithcss","true"],["bold",""]],
+	"fo<span style=\"font-weight:bold\">[obarb]</span>az",
+	[]],
+["foo[<b>b]ar</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[b]<b>ar</b>baz",
+	[]],
+["foo[<b>b]ar</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[b]<span style=\"font-weight:bold\">ar</span>baz",
+	[]],
+["foo<b>ba[r</b>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>ba</b>[r]baz",
+	[]],
+["foo<b>ba[r</b>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">ba</span>[r]baz",
+	[]],
+["foo[<b>bar</b>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo[<b>bar</b>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[]],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo{bar}baz",
+	[]],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo{bar}baz",
+	[]],
+["fo[o<span style=font-weight:bold>b]ar</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"fo<span style=\"font-weight:bold\">[ob]ar</span>baz",
+	[]],
+["fo[o<span style=font-weight:bold>b]ar</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"fo<span style=\"font-weight:bold\">[ob]ar</span>baz",
+	[]],
+["<span style=font-weight:800>fo[o</span><span style=font-weight:900>b]ar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:800\">fo</span>[ob]<span style=\"font-weight:900\">ar</span>",
+	[]],
+["<span style=font-weight:800>fo[o</span><span style=font-weight:900>b]ar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:800\">fo</span>[ob]<span style=\"font-weight:900\">ar</span>",
+	[]],
+["<span style=font-weight:700>fo[o</span><span style=font-weight:800>b]ar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>fo</b>[ob]<span style=\"font-weight:800\">ar</span>",
+	[]],
+["<span style=font-weight:700>fo[o</span><span style=font-weight:800>b]ar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:700\">fo</span>[ob]<span style=\"font-weight:800\">ar</span>",
+	[]],
+["<span style=font-weight:600>fo[o</span><span style=font-weight:700>b]ar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:600\">fo</span>[ob]<b>ar</b>",
+	[]],
+["<span style=font-weight:600>fo[o</span><span style=font-weight:700>b]ar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:600\">fo</span>[ob]<span style=\"font-weight:700\">ar</span>",
+	[]],
+["<span style=font-weight:500>fo[o</span><span style=font-weight:600>b]ar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:500\">fo<b>[o</b></span><span style=\"font-weight:600\"><b>b]</b>ar</span>",
+	[]],
+["<span style=font-weight:500>fo[o</span><span style=font-weight:600>b]ar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:500\">fo<span style=\"font-weight:bold\">[o</span></span><span style=\"font-weight:600\"><span style=\"font-weight:bold\">b]</span>ar</span>",
+	[]],
+["<span style=font-weight:400>fo[o</span><span style=font-weight:500>b]ar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:400\">fo<b>[o</b></span><span style=\"font-weight:500\"><b>b]</b>ar</span>",
+	[]],
+["<span style=font-weight:400>fo[o</span><span style=font-weight:500>b]ar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:400\">fo<span style=\"font-weight:bold\">[o</span></span><span style=\"font-weight:500\"><span style=\"font-weight:bold\">b]</span>ar</span>",
+	[]],
+["<span style=font-weight:300>fo[o</span><span style=font-weight:400>b]ar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:300\">fo<b>[o</b></span><span style=\"font-weight:400\"><b>b]</b>ar</span>",
+	[]],
+["<span style=font-weight:300>fo[o</span><span style=font-weight:400>b]ar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:300\">fo<span style=\"font-weight:bold\">[o</span></span><span style=\"font-weight:400\"><span style=\"font-weight:bold\">b]</span>ar</span>",
+	[]],
+["<span style=font-weight:200>fo[o</span><span style=font-weight:300>b]ar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:200\">fo<b>[o</b></span><span style=\"font-weight:300\"><b>b]</b>ar</span>",
+	[]],
+["<span style=font-weight:200>fo[o</span><span style=font-weight:300>b]ar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:200\">fo<span style=\"font-weight:bold\">[o</span></span><span style=\"font-weight:300\"><span style=\"font-weight:bold\">b]</span>ar</span>",
+	[]],
+["<span style=font-weight:100>fo[o</span><span style=font-weight:200>b]ar</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:100\">fo<b>[o</b></span><span style=\"font-weight:200\"><b>b]</b>ar</span>",
+	[]],
+["<span style=font-weight:100>fo[o</span><span style=font-weight:200>b]ar</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:100\">fo<span style=\"font-weight:bold\">[o</span></span><span style=\"font-weight:200\"><span style=\"font-weight:bold\">b]</span>ar</span>",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo[]bar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+	[]],
+["foo]bar[baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<table><tbody><tr><td>foo</td><td>b<a href=\"http://www.google.com/\">[a]</a>r</td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<table><tbody><tr><td>foo</td>{<td><a href=\"http://www.google.com/\">bar</a></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<table><tbody><tr>{<td><a href=\"http://www.google.com/\">foo</a></td><td><a href=\"http://www.google.com/\">bar</a></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<table><tbody>{<tr><td><a href=\"http://www.google.com/\">foo</a></td><td><a href=\"http://www.google.com/\">bar</a></td><td><a href=\"http://www.google.com/\">baz</a></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<table>{<tbody><tr><td><a href=\"http://www.google.com/\">foo</a></td><td><a href=\"http://www.google.com/\">bar</a></td><td><a href=\"http://www.google.com/\">baz</a></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"{<table><tbody><tr><td><a href=\"http://www.google.com/\">foo</a></td><td><a href=\"http://www.google.com/\">bar</a></td><td><a href=\"http://www.google.com/\">baz</a></td></tr></tbody></table>}",
+	[]],
+["<a href=http://www.google.com/>foo[bar]baz</a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">foo[bar]baz</a>",
+	[]],
+["<a href=http://www.google.com/>foo[barbaz</a>}",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">foo[barbaz</a>}",
+	[]],
+["{<a href=http://www.google.com/>foobar]baz</a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\">foobar]baz</a>",
+	[]],
+["{<a href=http://www.google.com/>foobarbaz</a>}",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\">foobarbaz}</a>",
+	[]],
+["<a href=http://www.google.com/>[foobarbaz]</a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+	[]],
+["foo<a href=http://www.google.com/>[bar]</a>baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+	[]],
+["[foo]<a href=http://www.google.com/>bar</a>baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foo]bar</a>baz",
+	[]],
+["foo<a href=http://www.google.com/>bar</a>[baz]",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">bar[baz]</a>",
+	[]],
+["foo[<a href=http://www.google.com/>bar</a>]baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo[<a href=\"http://www.google.com/\">bar</a>]baz",
+	[]],
+["foo<a href=http://www.google.com/>[bar</a>baz]",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[barbaz]</a>",
+	[]],
+["[foo<a href=http://www.google.com/>bar]</a>baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobar]</a>baz",
+	[]],
+["[foo<a href=http://www.google.com/>bar</a>baz]",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+	[]],
+["<a href=otherurl>foo[bar]baz</a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">foo[bar]baz</a>",
+	[]],
+["<a href=otherurl>foo[barbaz</a>}",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">foo[barbaz</a>}",
+	[]],
+["{<a href=otherurl>foobar]baz</a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\">foobar]baz</a>",
+	[]],
+["{<a href=otherurl>foobarbaz</a>}",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\">foobarbaz}</a>",
+	[]],
+["<a href=otherurl>[foobarbaz]</a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+	[]],
+["foo<a href=otherurl>[bar]</a>baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+	[]],
+["foo[<a href=otherurl>bar</a>]baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo[<a href=\"http://www.google.com/\">bar</a>]baz",
+	[]],
+["foo<a href=otherurl>[bar</a>baz]",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[barbaz]</a>",
+	[]],
+["[foo<a href=otherurl>bar]</a>baz",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobar]</a>baz",
+	[]],
+["[foo<a href=otherurl>bar</a>baz]",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+	[]],
+["<a href=otherurl><b>foo[bar]baz</b></a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\"><b>foo[bar]baz</b></a>",
+	[]],
+["<a href=otherurl><b>foo[barbaz</b></a>}",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\"><b>foo[barbaz</b></a>}",
+	[]],
+["{<a href=otherurl><b>foobar]baz</b></a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\"><b>foobar]baz</b></a>",
+	[]],
+["<a href=otherurl><b>[foobarbaz]</b></a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\"><b>[foobarbaz]</b></a>",
+	[]],
+["<a name=abc>foo[bar]baz</a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<span name=\"abc\">foo<a href=\"http://www.google.com/\">[bar]</a>baz</span>",
+	[]],
+["<a name=abc><b>foo[bar]baz</b></a>",
+	[["stylewithcss","false"],["createlink","http://www.google.com/"]],
+	"<span name=\"abc\"><b>foo<a href=\"http://www.google.com/\">[bar]</a>baz</b></span>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["createlink",""]],
+	"foo[bar]baz",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]bar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["delete",""]],
+	"<span>fo[]</span><span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["delete",""]],
+	"<span>foo[]</span><span>bar</span>",
+	[]],
+["foo<span style=display:none>bar</span>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]baz",
+	[]],
+["foo<script>bar</script>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]baz",
+	[]],
+["fo&ouml;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]bar",
+	[]],
+["foo&#x308;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo[]bar",
+	[]],
+["foo&#x308;&#x327;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foö[]bar",
+	[]],
+["&ouml;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"{}bar",
+	[]],
+["o&#x308;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"o[]bar",
+	[]],
+["o&#x308;&#x327;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"ö[]bar",
+	[]],
+["&#x5e9;&#x5c1;&#x5b8;[]&#x5dc;&#x5d5;&#x5b9;&#x5dd;",
+	[["stylewithcss","false"],["delete",""]],
+	"שׁ[]לוֹם",
+	[]],
+["&#x5e9;&#x5c1;&#x5b8;&#x5dc;&#x5d5;&#x5b9;[]&#x5dd;",
+	[["stylewithcss","false"],["delete",""]],
+	"שָׁלו[]ם",
+	[]],
+["<p>foo</p><p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo</p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["foo<p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<p>foo<br></p><p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo<br></p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["foo<br><p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<p>foo<br><br></p><p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[]],
+["<p>foo<br><br></p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[]],
+["foo<br><br><p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<br><p>{}bar</p>",
+	[]],
+["<div><p>foo</p></div><p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[]],
+["<p>foo</p><div><p>[]bar</p></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<div><p>foo</p></div><div><p>[]bar</p></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[]],
+["<div><p>foo</p></div>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[]],
+["foo<div><p>[]bar</p></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<div>foo</div><div>[]bar</div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div>foo{}bar</div>",
+	[]],
+["<pre>foo</pre>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<pre>foo{}bar</pre>",
+	[]],
+["foo<br>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["foo<br><b>[]bar</b>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}<b>bar</b>",
+	[]],
+["foo<hr>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<p>foo<hr><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><p>{}bar</p>",
+	[]],
+["<p>foo</p><br><p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><p>{}bar</p>",
+	[]],
+["<p>foo</p><br><br><p>[]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><br><p>{}bar</p>",
+	[]],
+["<p>foo</p><img src=/img/lion.svg><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><img src=\"/img/lion.svg\">{}bar",
+	[]],
+["foo<img src=/img/lion.svg>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<a>foo</a>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo[]bar",
+	[]],
+["<a href=/>foo</a>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo[]bar",
+	[]],
+["<a name=abc>foo</a>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo[]bar",
+	[]],
+["<a href=/ name=abc>foo</a>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo[]bar",
+	[]],
+["<span><a>foo</a></span>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<span>foo</span>[]bar",
+	[]],
+["<span><a href=/>foo</a></span>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<span>foo</span>[]bar",
+	[]],
+["<span><a name=abc>foo</a></span>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<span>foo</span>[]bar",
+	[]],
+["<span><a href=/ name=abc>foo</a></span>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<span>foo</span>[]bar",
+	[]],
+["foo<a>[]bar</a>",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]<a>bar</a>",
+	[]],
+["foo<a href=/>[]bar</a>",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]<a href=\"/\">bar</a>",
+	[]],
+["foo<a name=abc>[]bar</a>",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]<a name=\"abc\">bar</a>",
+	[]],
+["foo<a href=/ name=abc>[]bar</a>",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]<a href=\"/\" name=\"abc\">bar</a>",
+	[]],
+["foo &nbsp;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo []bar",
+	[]],
+["foo&nbsp; []bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo []bar",
+	[]],
+["foo&nbsp;&nbsp;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo []bar",
+	[]],
+["foo  []bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo[]bar",
+	[]],
+["<b>foo </b>&nbsp;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<b>foo </b>{}bar",
+	[]],
+["<b>foo&nbsp;</b> []bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<b>foo </b>{}bar",
+	[]],
+["<b>foo&nbsp;</b>&nbsp;[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<b>foo </b>{}bar",
+	[]],
+["<b>foo </b> []bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<b>foo[]</b>bar",
+	[]],
+["foo<table><tr><td>[]bar</table>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
+	[]],
+["foo<table><tr><td>bar</table>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{<table><tbody><tr><td>bar</td></tr></tbody></table>}baz",
+	[]],
+["<p>foo<table><tr><td>[]bar</table><p>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><table><tbody><tr><td>[]bar</td></tr></tbody></table><p>baz</p>",
+	[]],
+["<p>foo<table><tr><td>bar</table><p>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p>{<table><tbody><tr><td>bar</td></tr></tbody></table>}<p>baz</p>",
+	[]],
+["<table><tr><td>foo<td>[]bar</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo</td><td>{}bar</td></tr></tbody></table>",
+	[]],
+["<table><tr><td>foo<tr><td>[]bar</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo</td></tr><tr><td>{}bar</td></tr></tbody></table>",
+	[]],
+["foo<br><table><tr><td>[]bar</table>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
+	[]],
+["foo<table><tr><td>bar<br></table>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{<table><tbody><tr><td>bar<br></td></tr></tbody></table>}baz",
+	[]],
+["<p>foo<br><table><tr><td>[]bar</table><p>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo<br></p><table><tbody><tr><td>[]bar</td></tr></tbody></table><p>baz</p>",
+	[]],
+["<p>foo<table><tr><td>bar<br></table><p>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p>{<table><tbody><tr><td>bar<br></td></tr></tbody></table>}<p>baz</p>",
+	[]],
+["<table><tr><td>foo<br><td>[]bar</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo</td><td>{}bar</td></tr></tbody></table>",
+	[]],
+["<table><tr><td>foo<br><tr><td>[]bar</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo</td></tr><tr><td>{}bar</td></tr></tbody></table>",
+	[]],
+["foo<br><br><table><tr><td>[]bar</table>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<br><br><table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
+	[]],
+["foo<table><tr><td>bar<br><br></table>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{<table><tbody><tr><td>bar<br><br></td></tr></tbody></table>}baz",
+	[]],
+["<p>foo<br><br><table><tr><td>[]bar</table><p>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo<br><br></p><table><tbody><tr><td>[]bar</td></tr></tbody></table><p>baz</p>",
+	[]],
+["<p>foo<table><tr><td>bar<br><br></table><p>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p>{<table><tbody><tr><td>bar<br><br></td></tr></tbody></table>}<p>baz</p>",
+	[]],
+["<table><tr><td>foo<br><br><td>[]bar</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo<br><br></td><td>{}bar</td></tr></tbody></table>",
+	[]],
+["<table><tr><td>foo<br><br><tr><td>[]bar</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo<br><br></td></tr><tr><td>{}bar</td></tr></tbody></table>",
+	[]],
+["foo<hr><table><tr><td>[]bar</table>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<hr><table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
+	[]],
+["foo<table><tr><td>bar<hr></table>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{<table><tbody><tr><td>bar<hr></td></tr></tbody></table>}baz",
+	[]],
+["<table><tr><td>foo<hr><td>[]bar</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo<hr></td><td>{}bar</td></tr></tbody></table>",
+	[]],
+["<table><tr><td>foo<hr><tr><td>[]bar</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo<hr></td></tr><tr><td>{}bar</td></tr></tbody></table>",
+	[]],
+["foo<ol><li>[]bar<li>baz</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<p>[]bar</p><ol><li>baz</li></ol>",
+	[]],
+["foo<br><ol><li>[]bar<li>baz</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<p>[]bar</p><ol><li>baz</li></ol>",
+	[]],
+["foo<br><br><ol><li>[]bar<li>baz</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<br><br><p>[]bar</p><ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo<li>[]bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br>[]bar</li></ol>",
+	[]],
+["<ol><li>foo<br><li>[]bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br>[]bar</li></ol>",
+	[]],
+["<ol><li>foo<br><br><li>[]bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br><br>[]bar</li></ol>",
+	[]],
+["<ol><li>foo<li>[]bar<br>baz</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br>[]bar<br>baz</li></ol>",
+	[]],
+["<ol><li>foo<br>bar<li>[]baz</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br>bar<br>[]baz</li></ol>",
+	[]],
+["<ol><li><p>foo</p>{}bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li><p>foo{}bar</p></li></ol>",
+	[]],
+["<ol><li><p>foo<li>[]bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li><p>foo</p>[]bar</li></ol>",
+	[]],
+["<ol><li>foo<li><p>[]bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<p>[]bar</p></li></ol>",
+	[]],
+["<ol><li><p>foo<li><p>[]bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li><p>foo</p><p>[]bar</p></li></ol>",
+	[]],
+["<ol><li>foo<ul><li>[]bar</ul></ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo</li><li>[]bar</li></ol>",
+	[]],
+["foo<ol><ol><li>[]bar</ol></ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<ol><li>[]bar</li></ol>",
+	[]],
+["foo<div><ol><li>[]bar</ol></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<div><p>[]bar</p></div>",
+	[]],
+["foo<dl><dt>[]bar<dd>baz</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<p>[]bar</p><dl><dd>baz</dd></dl>",
+	[]],
+["foo<dl><dd>[]bar</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<p>[]bar</p>",
+	[]],
+["<dl><dt>foo<dd>[]bar</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"<dl><dt>foo<br>[]bar</dt></dl>",
+	[]],
+["<dl><dt>foo<dt>[]bar<dd>baz</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"<dl><dt>foo<br>[]bar</dt><dd>baz</dd></dl>",
+	[]],
+["<dl><dt>foo<dd>bar<dd>[]baz</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"<dl><dt>foo</dt><dd>bar<br>[]baz</dd></dl>",
+	[]],
+["<ol><li>foo</ol>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>foo<br></ol>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>foo<br><br></ol>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br>{}bar</li></ol>",
+	[]],
+["<ol><li><br></ol>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>{}bar</li></ol>",
+	[]],
+["<ol><li>foo<li><br></ol>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo</li><li>{}bar</li></ol>",
+	[]],
+["<ol><li>foo</ol><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>foo<br></ol><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>foo<br><br></ol><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br>{}bar</li></ol>",
+	[]],
+["<ol><li><br></ol><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>{}bar</li></ol>",
+	[]],
+["<ol><li>foo<li><br></ol><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo</li><li>{}bar</li></ol>",
+	[]],
+["<ol><li>foo</ol>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[]],
+["<ol><li>foo<br></ol>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[]],
+["<ol><li>foo<br><br></ol>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br>{}<br></li></ol>",
+	[]],
+["<ol><li><br></ol>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>{}<br></li></ol>",
+	[]],
+["<ol><li>foo<li><br></ol>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo</li><li>{}<br></li></ol>",
+	[]],
+["<ol><li>foo</ol><p>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[]],
+["<ol><li>foo<br></ol><p>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[]],
+["<ol><li>foo<br><br></ol><p>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo<br>{}<br></li></ol>",
+	[]],
+["<ol><li><br></ol><p>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>{}<br></li></ol>",
+	[]],
+["<ol><li>foo<li><br></ol><p>{}<br>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo</li><li>{}<br></li></ol>",
+	[]],
+["foo<blockquote>[]bar</blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<br>[]bar",
+	[]],
+["foo<blockquote><blockquote>[]bar</blockquote></blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<blockquote>[]bar</blockquote>",
+	[]],
+["foo<blockquote><div>[]bar</div></blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<div>[]bar</div>",
+	[]],
+["foo<blockquote style=\"color: blue\">[]bar</blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<div style=\"color:rgb(0, 0, 255)\">[]bar</div>",
+	[]],
+["foo<blockquote><blockquote><p>[]bar<p>baz</blockquote></blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<blockquote><p>[]bar</p><blockquote><p>baz</p></blockquote></blockquote>",
+	[]],
+["foo<blockquote><div><p>[]bar<p>baz</div></blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<div><p>[]bar</p><blockquote><p>baz</p></blockquote></div>",
+	[]],
+["foo<blockquote style=\"color: blue\"><p>[]bar<p>baz</blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<div style=\"color:rgb(0, 0, 255)\"><p>[]bar</p><blockquote><p>baz</p></blockquote></div>",
+	[]],
+["foo<blockquote><p><b>[]bar</b><p>baz</blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<p><b>[]bar</b></p><blockquote><p>baz</p></blockquote>",
+	[]],
+["foo<blockquote><p><strong>[]bar</strong><p>baz</blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<p><strong>[]bar</strong></p><blockquote><p>baz</p></blockquote>",
+	[]],
+["foo<blockquote><p><span>[]bar</span><p>baz</blockquote>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<p><span>[]bar</span></p><blockquote><p>baz</p></blockquote>",
+	[]],
+["foo<blockquote><ol><li>[]bar</ol></blockquote><p>extra",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<blockquote><p>[]bar</p></blockquote><p>extra</p>",
+	[]],
+["foo<blockquote>bar<ol><li>[]baz</ol>quz</blockquote><p>extra",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<blockquote>bar<p>[]baz</p>quz</blockquote><p>extra</p>",
+	[]],
+["foo<blockquote><ol><li>bar</li><ol><li>[]baz</ol><li>quz</ol></blockquote><p>extra",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<blockquote><ol><li>bar</li><li>[]baz</li><li>quz</li></ol></blockquote><p>extra</p>",
+	[]],
+["foo<span></span>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]bar",
+	[]],
+["foo<span><span></span></span>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]bar",
+	[]],
+["foo<quasit></quasit>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]bar",
+	[]],
+["foo<br><span></span>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<span>foo<span></span></span>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<span>fo[]</span>bar",
+	[]],
+["foo<span></span><span>[]bar</span>",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]<span>bar</span>",
+	[]],
+["foo<div><div><p>[]bar</div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["foo<div><div><p><!--abc-->[]bar</div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["foo<div><div><!--abc--><p>[]bar</div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["foo<div><!--abc--><div><p>[]bar</div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["foo<!--abc--><div><div><p>[]bar</div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<div><div><p>foo</div></div>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</div></div><!--abc-->[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</div><!--abc--></div>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</p><!--abc--></div></div>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo<!--abc--></div></div>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</p></div></div><div><div><div>[]bar</div></div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo<!--abc--></p></div></div><div><div><div>[]bar</div></div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</p><!--abc--></div></div><div><div><div>[]bar</div></div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</p></div><!--abc--></div><div><div><div>[]bar</div></div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</p></div></div><!--abc--><div><div><div>[]bar</div></div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</p></div></div><div><!--abc--><div><div>[]bar</div></div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</p></div></div><div><div><!--abc--><div>[]bar</div></div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo</p></div></div><div><div><div><!--abc-->[]bar</div></div></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<p style=color:blue>foo<p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><font color=\"#0000ff\">foo{}</font>bar</p>",
+	[]],
+["<p style=color:blue>foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<font color=\"#a52a2a\">bar</font></p>",
+	[]],
+["<p style=color:blue>foo<p style=color:rgba(0,0,255,1)>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}bar</p>",
+	[]],
+["<p style=color:transparent>foo<p style=color:rgba(0,0,0,0)>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p style=\"color:rgba(0, 0, 0, 0)\">foo{}bar</p>",
+	[]],
+["<p>foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}<font color=\"#a52a2a\">bar</font></p>",
+	[]],
+["<p><font color=blue>foo</font><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><font color=\"blue\">foo</font>{}bar</p>",
+	[]],
+["<p><font color=blue>foo</font><p><font color=brown>[]bar</font>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><font color=\"blue\">foo</font>{}<font color=\"brown\">bar</font></p>",
+	[]],
+["<p>foo<p><font color=brown>[]bar</font>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}<font color=\"brown\">bar</font></p>",
+	[]],
+["<p><span style=color:blue>foo</font><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo</span>{}bar</p>",
+	[]],
+["<p><span style=color:blue>foo</font><p><span style=color:brown>[]bar</font>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo</span>{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[]],
+["<p>foo<p><span style=color:brown>[]bar</font>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[]],
+["<p style=background-color:aqua>foo<p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[]],
+["<p style=background-color:aqua>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[]],
+["<p>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p><span style=background-color:aqua>foo</font><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">foo</span>{}bar</p>",
+	[]],
+["<p><span style=background-color:aqua>foo</font><p><span style=background-color:tan>[]bar</font>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">foo</span>{}<span style=\"background-color:rgb(210, 180, 140)\">bar</span></p>",
+	[]],
+["<p>foo<p><span style=background-color:tan>[]bar</font>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}<span style=\"background-color:rgb(210, 180, 140)\">bar</span></p>",
+	[]],
+["<p style=text-decoration:underline>foo<p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><u>foo{}</u>bar</p>",
+	[]],
+["<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><u>foo{}</u><s>bar</s></p>",
+	[]],
+["<p>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}<s>bar</s></p>",
+	[]],
+["<p><u>foo</u><p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><u>foo</u>{}bar</p>",
+	[]],
+["<p><u>foo</u><p><s>[]bar</s>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><u>foo</u>{}<s>bar</s></p>",
+	[]],
+["<p>foo<p><s>[]bar</s>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}<s>bar</s></p>",
+	[]],
+["<p style=color:blue>foo</p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><font color=\"#0000ff\">foo{}</font>bar</p>",
+	[]],
+["foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}<font color=\"#a52a2a\">bar</font>",
+	[]],
+["<div style=color:blue><p style=color:green>foo</div>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p><font color=\"#008000\">foo{}</font>bar</p></div>",
+	[]],
+["<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div style=\"color:rgb(0, 0, 255)\"><p style=\"color:rgb(0, 128, 0)\">foo{}<font color=\"#a52a2a\">bar</font></p></div>",
+	[]],
+["<p style=color:blue>foo<div style=color:brown><p style=color:green>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<font color=\"#008000\">bar</font></p>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo[]baz",
+	[]],
+["<p>foo<span style=color:#aBcDeF>[bar]</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[]],
+["<p>foo<span style=color:#aBcDeF>{bar}</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[]],
+["<p>foo{<span style=color:#aBcDeF>bar</span>}baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[]],
+["<p>[foo<span style=color:#aBcDeF>bar]</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>{}baz</p>",
+	[]],
+["<p>{foo<span style=color:#aBcDeF>bar}</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>{}baz</p>",
+	[]],
+["<p>foo<span style=color:#aBcDeF>[bar</span>baz]",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}</p>",
+	[]],
+["<p>foo<span style=color:#aBcDeF>{bar</span>baz}",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}</p>",
+	[]],
+["<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[]],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[]],
+["foo<b>{bar}</b>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[]],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[]],
+["foo<span>[bar]</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[]],
+["foo<span>{bar}</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[]],
+["foo{<span>bar</span>}baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[]],
+["<b>foo[bar</b><i>baz]quz</i>",
+	[["stylewithcss","false"],["delete",""]],
+	"<b>foo[]</b><i>quz</i>",
+	[]],
+["<p>foo</p><p>[bar]</p><p>baz</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[]],
+["<p>foo</p><p>{bar}</p><p>baz</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[]],
+["<p>foo</p><p>{bar</p>}<p>baz</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[]],
+["<p>foo</p>{<p>bar}</p><p>baz</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p>{}<br><p>baz</p>",
+	[]],
+["<p>foo</p>{<p>bar</p>}<p>baz</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p>{}<p>baz</p>",
+	[]],
+["<p>foo[bar<p>baz]quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[]],
+["<p>foo[bar<div>baz]quz</div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[]],
+["<p>foo[bar<h1>baz]quz</h1>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[]],
+["<div>foo[bar</div><p>baz]quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<div>foo{}quz</div>",
+	[]],
+["<blockquote>foo[bar</blockquote><pre>baz]quz</pre>",
+	[["stylewithcss","false"],["delete",""]],
+	"<blockquote>foo{}quz</blockquote>",
+	[]],
+["<p><b>foo[bar</b><p>baz]quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><b>foo</b>{}quz</p>",
+	[]],
+["<div><p>foo[bar</div><p>baz]quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p>foo{}quz</p></div>",
+	[]],
+["<p>foo[bar<blockquote><p>baz]quz<p>qoz</blockquote",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}quz</p><blockquote><p>qoz</p></blockquote>",
+	[]],
+["<p>foo[bar<p style=color:blue>baz]quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}<font color=\"#0000ff\">quz</font></p>",
+	[]],
+["<p>foo[bar<p><b>baz]quz</b>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}<b>quz</b></p>",
+	[]],
+["<div><p>foo<p>[bar<p>baz]</div>",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p>foo</p><p>{}<br></p></div>",
+	[]],
+["foo[<br>]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"foo[]bar",
+	[]],
+["<p>foo[</p><p>]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo[</p><p>]bar<br>baz</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar<br>baz</p>",
+	[]],
+["foo[<p>]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["foo{<p>}bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["foo[<p>]bar<br>baz</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar<p>baz</p>",
+	[]],
+["foo[<p>]bar</p>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar<br>baz",
+	[]],
+["foo{<p>bar</p>}baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[]],
+["foo<p>{bar</p>}baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<p>{}baz</p>",
+	[]],
+["foo{<p>bar}</p>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}<br>baz",
+	[]],
+["<p>foo[</p>]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo{</p>}bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo[</p>]bar<br>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>baz",
+	[]],
+["<p>foo[</p>]bar<p>baz</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p><p>baz</p>",
+	[]],
+["foo[<div><p>]bar</div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<div><p>foo[</p></div>]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[]],
+["foo[<div><p>]bar</p>baz</div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar<div>baz</div>",
+	[]],
+["foo[<div>]bar<p>baz</p></div>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar<div><p>baz</p></div>",
+	[]],
+["<div><p>foo</p>bar[</div>]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p>foo</p>bar{}baz</div>",
+	[]],
+["<div>foo<p>bar[</p></div>]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<div>foo<p>bar{}baz</p></div>",
+	[]],
+["<p>foo<br>{</p>]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo<br><br>{</p>]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[]],
+["foo<br>{<p>]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["foo<br><br>{<p>]bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo<br>{}bar",
+	[]],
+["<p>foo<br>{</p><p>}bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo<br><br>{</p><p>}bar</p>",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[]],
+["<table><tbody><tr><th>foo<th>[bar]<th>baz<tr><td>quz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><th>foo</th><th>{}<br></th><th>baz</th></tr><tr><td>quz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>foo<th>ba[r<th>b]az<tr><td>quz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><th>foo</th><th>ba[]</th><th>az</th></tr><tr><td>quz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>fo[o<th>bar<th>b]az<tr><td>quz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><th>fo[]</th><th><br></th><th>az</th></tr><tr><td>quz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>foo<th>bar<th>ba[z<tr><td>q]uz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><th>foo</th><th>bar</th><th>ba[]</th></tr><tr><td>uz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>[foo<th>bar<th>baz]<tr><td>quz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><th>{}<br></th><th><br></th><th><br></th></tr><tr><td>quz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>[foo<th>bar<th>baz<tr><td>quz<td>qoz<td>qiz]</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><th>{}<br></th><th><br></th><th><br></th></tr><tr><td><br></td><td><br></td><td><br></td></tr></tbody></table>",
+	[]],
+["{<table><tbody><tr><th>foo<th>bar<th>baz<tr><td>quz<td>qoz<td>qiz</table>}",
+	[["stylewithcss","false"],["delete",""]],
+	"{}<br>",
+	[]],
+["<table><tbody><tr><td>foo<td>ba[r<tr><td>baz<td>quz<tr><td>q]oz<td>qiz</table>",
+	[["stylewithcss","false"],["delete",""]],
+	"<table><tbody><tr><td>foo</td><td>ba[]</td></tr><tr><td><br></td><td><br></td></tr><tr><td>oz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<p>fo[o<table><tr><td>b]ar</table><p>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>fo[]</p><table><tbody><tr><td>ar</td></tr></tbody></table><p>baz</p>",
+	[]],
+["<p>foo<table><tr><td>ba[r</table><p>b]az",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><table><tbody><tr><td>ba[]</td></tr></tbody></table><p>az</p>",
+	[]],
+["<p>fo[o<table><tr><td>bar</table><p>b]az",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>fo{}az</p>",
+	[]],
+["<p>foo<ol><li>ba[r<li>b]az</ol><p>quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><ol><li>ba{}az</li></ol><p>quz</p>",
+	[]],
+["<p>foo<ol><li>bar<li>[baz]</ol><p>quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><ol><li>bar</li><li>{}<br></li></ol><p>quz</p>",
+	[]],
+["<p>fo[o<ol><li>b]ar<li>baz</ol><p>quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>fo{}ar</p><ol><li>baz</li></ol><p>quz</p>",
+	[]],
+["<p>foo<ol><li>bar<li>ba[z</ol><p>q]uz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo</p><ol><li>bar</li><li>ba{}uz</li></ol>",
+	[]],
+["<p>fo[o<ol><li>bar<li>b]az</ol><p>quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>fo{}az</p><p>quz</p>",
+	[]],
+["<p>fo[o<ol><li>bar<li>baz</ol><p>q]uz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>fo{}uz</p>",
+	[]],
+["<ol><li>fo[o</ol><ol><li>b]ar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>fo{}ar</li></ol>",
+	[]],
+["<ol><li>fo[o</ol><ul><li>b]ar</ul>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>fo{}ar</li></ol>",
+	[]],
+["foo[<ol><li>]bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<ol><li>foo[<li>]bar</ol>",
+	[["stylewithcss","false"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["foo[<dl><dt>]bar<dd>baz</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar<dl><dd>baz</dd></dl>",
+	[]],
+["foo[<dl><dd>]bar</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}bar",
+	[]],
+["<dl><dt>foo[<dd>]bar</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"<dl><dt>foo{}bar</dt></dl>",
+	[]],
+["<dl><dt>foo[<dt>]bar<dd>baz</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"<dl><dt>foo{}bar</dt><dd>baz</dd></dl>",
+	[]],
+["<dl><dt>foo<dd>bar[<dd>]baz</dl>",
+	[["stylewithcss","false"],["delete",""]],
+	"<dl><dt>foo</dt><dd>bar{}baz</dd></dl>",
+	[]],
+["<b>foo [&nbsp;</b>bar]",
+	[["stylewithcss","false"],["delete",""]],
+	"<b>foo&nbsp;[]</b>",
+	[]],
+["<p style=display:inline>fo[o<p style=display:inline>b]ar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p style=\"display:inline\">fo[]</p><p style=\"display:inline\">ar</p>",
+	[]],
+["<span style=display:block>fo[o</span><span style=display:block>b]ar</span>",
+	[["stylewithcss","false"],["delete",""]],
+	"<span style=\"display:block\">fo{}ar</span>",
+	[]],
+["<span style=display:inline-block>fo[o</span><span style=display:inline-block>b]ar</span>",
+	[["stylewithcss","false"],["delete",""]],
+	"<span style=\"display:inline-block\">fo[]</span><span style=\"display:inline-block\">ar</span>",
+	[]],
+["<span style=display:inline-table>fo[o</span><span style=display:inline-table>b]ar</span>",
+	[["stylewithcss","false"],["delete",""]],
+	"<span style=\"display:inline-table\">fo[]</span><span style=\"display:inline-table\">ar</span>",
+	[]],
+["<span style=display:none>fo[o</span><span style=display:none>b]ar</span>",
+	[["stylewithcss","false"],["delete",""]],
+	"<span style=\"display:none\">fo[]</span><span style=\"display:none\">ar</span>",
+	[]],
+["<quasit style=display:block>fo[o</quasit><quasit style=display:block>b]ar</quasit>",
+	[["stylewithcss","false"],["delete",""]],
+	"<quasit style=\"display:block\">fo{}ar</quasit>",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo[]bar",
+	[]],
+["foo[]bar",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo[]bar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+	[]],
+["foo]bar[baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[]],
+["foo]bar[baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+	[]],
+["<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>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<table><tbody><tr><td>foo</td><td>b<span style=\"font-family:sans-serif\">[a]</span>r</td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<table><tbody><tr><td>foo</td>{<td><font face=\"sans-serif\">bar</font></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<table><tbody><tr><td>foo</td>{<td><span style=\"font-family:sans-serif\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<table><tbody><tr>{<td><font face=\"sans-serif\">foo</font></td><td><font face=\"sans-serif\">bar</font></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<table><tbody><tr>{<td><span style=\"font-family:sans-serif\">foo</span></td><td><span style=\"font-family:sans-serif\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<table><tbody>{<tr><td><font face=\"sans-serif\">foo</font></td><td><font face=\"sans-serif\">bar</font></td><td><font face=\"sans-serif\">baz</font></td></tr>}</tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<table><tbody>{<tr><td><span style=\"font-family:sans-serif\">foo</span></td><td><span style=\"font-family:sans-serif\">bar</span></td><td><span style=\"font-family:sans-serif\">baz</span></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<table>{<tbody><tr><td><font face=\"sans-serif\">foo</font></td><td><font face=\"sans-serif\">bar</font></td><td><font face=\"sans-serif\">baz</font></td></tr></tbody>}</table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<table>{<tbody><tr><td><span style=\"font-family:sans-serif\">foo</span></td><td><span style=\"font-family:sans-serif\">bar</span></td><td><span style=\"font-family:sans-serif\">baz</span></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"{<table><tbody><tr><td><font face=\"sans-serif\">foo</font></td><td><font face=\"sans-serif\">bar</font></td><td><font face=\"sans-serif\">baz</font></td></tr></tbody></table>}",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"{<table><tbody><tr><td><span style=\"font-family:sans-serif\">foo</span></td><td><span style=\"font-family:sans-serif\">bar</span></td><td><span style=\"font-family:sans-serif\">baz</span></td></tr></tbody></table>}",
+	[]],
+["foo<code>[bar]</code>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<code><font face=\"sans-serif\">[bar]</font></code>baz",
+	[]],
+["foo<code>[bar]</code>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<code><span style=\"font-family:sans-serif\">[bar]</span></code>baz",
+	[]],
+["foo<kbd>[bar]</kbd>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<kbd><font face=\"sans-serif\">[bar]</font></kbd>baz",
+	[]],
+["foo<kbd>[bar]</kbd>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<kbd><span style=\"font-family:sans-serif\">[bar]</span></kbd>baz",
+	[]],
+["foo<listing>[bar]</listing>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<listing><font face=\"sans-serif\">[bar]</font></listing>baz",
+	[]],
+["foo<listing>[bar]</listing>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<listing><span style=\"font-family:sans-serif\">[bar]</span></listing>baz",
+	[]],
+["foo<pre>[bar]</pre>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<pre><font face=\"sans-serif\">[bar]</font></pre>baz",
+	[]],
+["foo<pre>[bar]</pre>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<pre><span style=\"font-family:sans-serif\">[bar]</span></pre>baz",
+	[]],
+["foo<samp>[bar]</samp>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<samp><font face=\"sans-serif\">[bar]</font></samp>baz",
+	[]],
+["foo<samp>[bar]</samp>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<samp><span style=\"font-family:sans-serif\">[bar]</span></samp>baz",
+	[]],
+["foo<tt>[bar]</tt>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt><font face=\"sans-serif\">[bar]</font></tt>baz",
+	[]],
+["foo<tt>[bar]</tt>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt><span style=\"font-family:sans-serif\">[bar]</span></tt>baz",
+	[]],
+["foo<code>b[a]r</code>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<code>b<font face=\"sans-serif\">[a]</font>r</code>baz",
+	[]],
+["foo<code>b[a]r</code>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<code>b<span style=\"font-family:sans-serif\">[a]</span>r</code>baz",
+	[]],
+["foo<kbd>b[a]r</kbd>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<kbd>b<font face=\"sans-serif\">[a]</font>r</kbd>baz",
+	[]],
+["foo<kbd>b[a]r</kbd>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<kbd>b<span style=\"font-family:sans-serif\">[a]</span>r</kbd>baz",
+	[]],
+["foo<listing>b[a]r</listing>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<listing>b<font face=\"sans-serif\">[a]</font>r</listing>baz",
+	[]],
+["foo<listing>b[a]r</listing>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<listing>b<span style=\"font-family:sans-serif\">[a]</span>r</listing>baz",
+	[]],
+["foo<pre>b[a]r</pre>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<pre>b<font face=\"sans-serif\">[a]</font>r</pre>baz",
+	[]],
+["foo<pre>b[a]r</pre>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<pre>b<span style=\"font-family:sans-serif\">[a]</span>r</pre>baz",
+	[]],
+["foo<samp>b[a]r</samp>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<samp>b<font face=\"sans-serif\">[a]</font>r</samp>baz",
+	[]],
+["foo<samp>b[a]r</samp>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<samp>b<span style=\"font-family:sans-serif\">[a]</span>r</samp>baz",
+	[]],
+["foo<tt>b[a]r</tt>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt>b<font face=\"sans-serif\">[a]</font>r</tt>baz",
+	[]],
+["foo<tt>b[a]r</tt>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt>b<span style=\"font-family:sans-serif\">[a]</span>r</tt>baz",
+	[]],
+["[foo<code>bar</code>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo<code><font face=\"sans-serif\">bar</font></code>baz]</font>",
+	[]],
+["[foo<code>bar</code>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo<code><span style=\"font-family:sans-serif\">bar</span></code>baz]</span>",
+	[]],
+["[foo<kbd>bar</kbd>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo<kbd><font face=\"sans-serif\">bar</font></kbd>baz]</font>",
+	[]],
+["[foo<kbd>bar</kbd>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo<kbd><span style=\"font-family:sans-serif\">bar</span></kbd>baz]</span>",
+	[]],
+["[foo<listing>bar</listing>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo</font><listing><font face=\"sans-serif\">bar</font></listing><font face=\"sans-serif\">baz]</font>",
+	[]],
+["[foo<listing>bar</listing>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo</span><listing><span style=\"font-family:sans-serif\">bar</span></listing><span style=\"font-family:sans-serif\">baz]</span>",
+	[]],
+["[foo<pre>bar</pre>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo</font><pre><font face=\"sans-serif\">bar</font></pre><font face=\"sans-serif\">baz]</font>",
+	[]],
+["[foo<pre>bar</pre>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo</span><pre><span style=\"font-family:sans-serif\">bar</span></pre><span style=\"font-family:sans-serif\">baz]</span>",
+	[]],
+["[foo<samp>bar</samp>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo<samp><font face=\"sans-serif\">bar</font></samp>baz]</font>",
+	[]],
+["[foo<samp>bar</samp>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo<samp><span style=\"font-family:sans-serif\">bar</span></samp>baz]</span>",
+	[]],
+["[foo<tt>bar</tt>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo<tt><font face=\"sans-serif\">bar</font></tt>baz]</font>",
+	[]],
+["[foo<tt>bar</tt>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo<tt><span style=\"font-family:sans-serif\">bar</span></tt>baz]</span>",
+	[]],
+["[foo<code>ba]r</code>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo</font><code><font face=\"sans-serif\">ba]</font>r</code>baz",
+	[]],
+["[foo<code>ba]r</code>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo</span><code><span style=\"font-family:sans-serif\">ba]</span>r</code>baz",
+	[]],
+["[foo<kbd>ba]r</kbd>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo</font><kbd><font face=\"sans-serif\">ba]</font>r</kbd>baz",
+	[]],
+["[foo<kbd>ba]r</kbd>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo</span><kbd><span style=\"font-family:sans-serif\">ba]</span>r</kbd>baz",
+	[]],
+["[foo<listing>ba]r</listing>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo</font><listing><font face=\"sans-serif\">ba]</font>r</listing>baz",
+	[]],
+["[foo<listing>ba]r</listing>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo</span><listing><span style=\"font-family:sans-serif\">ba]</span>r</listing>baz",
+	[]],
+["[foo<pre>ba]r</pre>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo</font><pre><font face=\"sans-serif\">ba]</font>r</pre>baz",
+	[]],
+["[foo<pre>ba]r</pre>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo</span><pre><span style=\"font-family:sans-serif\">ba]</span>r</pre>baz",
+	[]],
+["[foo<samp>ba]r</samp>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo</font><samp><font face=\"sans-serif\">ba]</font>r</samp>baz",
+	[]],
+["[foo<samp>ba]r</samp>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo</span><samp><span style=\"font-family:sans-serif\">ba]</span>r</samp>baz",
+	[]],
+["[foo<tt>ba]r</tt>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\">[foo</font><tt><font face=\"sans-serif\">ba]</font>r</tt>baz",
+	[]],
+["[foo<tt>ba]r</tt>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\">[foo</span><tt><span style=\"font-family:sans-serif\">ba]</span>r</tt>baz",
+	[]],
+["foo<code>b[ar</code>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<code>b<font face=\"sans-serif\">[ar</font></code><font face=\"sans-serif\">baz]</font>",
+	[]],
+["foo<code>b[ar</code>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<code>b<span style=\"font-family:sans-serif\">[ar</span></code><span style=\"font-family:sans-serif\">baz]</span>",
+	[]],
+["foo<kbd>b[ar</kbd>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<kbd>b<font face=\"sans-serif\">[ar</font></kbd><font face=\"sans-serif\">baz]</font>",
+	[]],
+["foo<kbd>b[ar</kbd>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<kbd>b<span style=\"font-family:sans-serif\">[ar</span></kbd><span style=\"font-family:sans-serif\">baz]</span>",
+	[]],
+["foo<listing>b[ar</listing>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<listing>b<font face=\"sans-serif\">[ar</font></listing><font face=\"sans-serif\">baz]</font>",
+	[]],
+["foo<listing>b[ar</listing>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<listing>b<span style=\"font-family:sans-serif\">[ar</span></listing><span style=\"font-family:sans-serif\">baz]</span>",
+	[]],
+["foo<pre>b[ar</pre>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<pre>b<font face=\"sans-serif\">[ar</font></pre><font face=\"sans-serif\">baz]</font>",
+	[]],
+["foo<pre>b[ar</pre>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<pre>b<span style=\"font-family:sans-serif\">[ar</span></pre><span style=\"font-family:sans-serif\">baz]</span>",
+	[]],
+["foo<samp>b[ar</samp>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<samp>b<font face=\"sans-serif\">[ar</font></samp><font face=\"sans-serif\">baz]</font>",
+	[]],
+["foo<samp>b[ar</samp>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<samp>b<span style=\"font-family:sans-serif\">[ar</span></samp><span style=\"font-family:sans-serif\">baz]</span>",
+	[]],
+["foo<tt>b[ar</tt>baz]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt>b<font face=\"sans-serif\">[ar</font></tt><font face=\"sans-serif\">baz]</font>",
+	[]],
+["foo<tt>b[ar</tt>baz]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt>b<span style=\"font-family:sans-serif\">[ar</span></tt><span style=\"font-family:sans-serif\">baz]</span>",
+	[]],
+["foo<span style=\"font-family: sans-serif\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[]],
+["foo<span style=\"font-family: sans-serif\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+	[]],
+["foo<span style=\"font-family: sans-serif\">b[a]r</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">b[a]r</span>baz",
+	[]],
+["foo<span style=\"font-family: sans-serif\">b[a]r</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">b[a]r</span>baz",
+	[]],
+["foo<span style=\"font-family: monospace\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[]],
+["foo<span style=\"font-family: monospace\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+	[]],
+["foo<span style=\"font-family: monospace\">b[a]r</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:monospace\">b<font face=\"sans-serif\">[a]</font>r</span>baz",
+	[]],
+["foo<span style=\"font-family: monospace\">b[a]r</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:monospace\">b<span style=\"font-family:sans-serif\">[a]</span>r</span>baz",
+	[]],
+["foo<tt contenteditable=false>ba[r</tt>b]az",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt contenteditable=\"false\">ba[r</tt><font face=\"sans-serif\">b]</font>az",
+	[]],
+["foo<tt contenteditable=false>ba[r</tt>b]az",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt contenteditable=\"false\">ba[r</tt><span style=\"font-family:sans-serif\">b]</span>az",
+	[]],
+["fo[o<tt contenteditable=false>b]ar</tt>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[o</font><tt contenteditable=\"false\">b]ar</tt>baz",
+	[]],
+["fo[o<tt contenteditable=false>b]ar</tt>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[o</span><tt contenteditable=\"false\">b]ar</tt>baz",
+	[]],
+["foo<tt>{}<br></tt>bar",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt>{}<br></tt>bar",
+	[]],
+["foo<tt>{}<br></tt>bar",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt>{}<br></tt>bar",
+	[]],
+["foo<tt>{<br></tt>}bar",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt>{<br></tt>}bar",
+	[]],
+["foo<tt>{<br></tt>}bar",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt>{<br></tt>}bar",
+	[]],
+["foo<tt>{<br></tt>b]ar",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt>{<font face=\"sans-serif\"><br></font></tt><font face=\"sans-serif\">b]</font>ar",
+	[]],
+["foo<tt>{<br></tt>b]ar",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt>{<span style=\"font-family:sans-serif\"><br></span></tt><span style=\"font-family:sans-serif\">b]</span>ar",
+	[]],
+["fo[o<span style=font-family:monospace>b]ar</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[o</font><span style=\"font-family:monospace\"><font face=\"sans-serif\">b]</font>ar</span>baz",
+	[]],
+["fo[o<span style=font-family:monospace>b]ar</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[o</span><span style=\"font-family:monospace\"><span style=\"font-family:sans-serif\">b]</span>ar</span>baz",
+	[]],
+["foo<span style=font-family:monospace>ba[r</span>b]az",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:monospace\">ba<font face=\"sans-serif\">[r</font></span><font face=\"sans-serif\">b]</font>az",
+	[]],
+["foo<span style=font-family:monospace>ba[r</span>b]az",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:monospace\">ba<span style=\"font-family:sans-serif\">[r</span></span><span style=\"font-family:sans-serif\">b]</span>az",
+	[]],
+["fo[o<span style=font-family:monospace>bar</span>b]az",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[obarb]</font>az",
+	[]],
+["fo[o<span style=font-family:monospace>bar</span>b]az",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[obarb]</span>az",
+	[]],
+["foo[<span style=font-family:monospace>b]ar</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo[<span style=\"font-family:monospace\"><font face=\"sans-serif\">b]</font>ar</span>baz",
+	[]],
+["foo[<span style=font-family:monospace>b]ar</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo[<span style=\"font-family:monospace\"><span style=\"font-family:sans-serif\">b]</span>ar</span>baz",
+	[]],
+["foo<span style=font-family:monospace>ba[r</span>]baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:monospace\">ba<font face=\"sans-serif\">[r</font></span>]baz",
+	[]],
+["foo<span style=font-family:monospace>ba[r</span>]baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:monospace\">ba<span style=\"font-family:sans-serif\">[r</span></span>]baz",
+	[]],
+["foo[<span style=font-family:monospace>bar</span>]baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo[<font face=\"sans-serif\">bar</font>]baz",
+	[]],
+["foo[<span style=font-family:monospace>bar</span>]baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo[<span style=\"font-family:sans-serif\">bar</span>]baz",
+	[]],
+["foo<span style=font-family:monospace>[bar]</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[]],
+["foo<span style=font-family:monospace>[bar]</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+	[]],
+["foo{<span style=font-family:monospace>bar</span>}baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo{<font face=\"sans-serif\">bar}</font>baz",
+	[]],
+["foo{<span style=font-family:monospace>bar</span>}baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo{<span style=\"font-family:sans-serif\">bar}</span>baz",
+	[]],
+["fo[o<code>b]ar</code>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[o</font><code><font face=\"sans-serif\">b]</font>ar</code>",
+	[]],
+["fo[o<code>b]ar</code>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[o</span><code><span style=\"font-family:sans-serif\">b]</span>ar</code>",
+	[]],
+["fo[o<kbd>b]ar</kbd>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[o</font><kbd><font face=\"sans-serif\">b]</font>ar</kbd>",
+	[]],
+["fo[o<kbd>b]ar</kbd>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[o</span><kbd><span style=\"font-family:sans-serif\">b]</span>ar</kbd>",
+	[]],
+["fo[o<listing>b]ar</listing>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[o</font><listing><font face=\"sans-serif\">b]</font>ar</listing>",
+	[]],
+["fo[o<listing>b]ar</listing>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[o</span><listing><span style=\"font-family:sans-serif\">b]</span>ar</listing>",
+	[]],
+["fo[o<pre>b]ar</pre>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[o</font><pre><font face=\"sans-serif\">b]</font>ar</pre>",
+	[]],
+["fo[o<pre>b]ar</pre>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[o</span><pre><span style=\"font-family:sans-serif\">b]</span>ar</pre>",
+	[]],
+["fo[o<samp>b]ar</samp>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[o</font><samp><font face=\"sans-serif\">b]</font>ar</samp>",
+	[]],
+["fo[o<samp>b]ar</samp>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[o</span><samp><span style=\"font-family:sans-serif\">b]</span>ar</samp>",
+	[]],
+["fo[o<tt>b]ar</tt>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[o</font><tt><font face=\"sans-serif\">b]</font>ar</tt>",
+	[]],
+["fo[o<tt>b]ar</tt>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"fo<span style=\"font-family:sans-serif\">[o</span><tt><span style=\"font-family:sans-serif\">b]</span>ar</tt>",
+	[]],
+["<tt>fo[o</tt><code>b]ar</code>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<tt>fo<font face=\"sans-serif\">[o</font></tt><code><font face=\"sans-serif\">b]</font>ar</code>",
+	[]],
+["<tt>fo[o</tt><code>b]ar</code>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<tt>fo<span style=\"font-family:sans-serif\">[o</span></tt><code><span style=\"font-family:sans-serif\">b]</span>ar</code>",
+	[]],
+["<pre>fo[o</pre><samp>b]ar</samp>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<pre>fo<font face=\"sans-serif\">[o</font></pre><samp><font face=\"sans-serif\">b]</font>ar</samp>",
+	[]],
+["<pre>fo[o</pre><samp>b]ar</samp>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<pre>fo<span style=\"font-family:sans-serif\">[o</span></pre><samp><span style=\"font-family:sans-serif\">b]</span>ar</samp>",
+	[]],
+["<span style=font-family:monospace>fo[o</span><kbd>b]ar</kbd>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<span style=\"font-family:monospace\">fo<font face=\"sans-serif\">[o</font></span><kbd><font face=\"sans-serif\">b]</font>ar</kbd>",
+	[]],
+["<span style=font-family:monospace>fo[o</span><kbd>b]ar</kbd>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:monospace\">fo<span style=\"font-family:sans-serif\">[o</span></span><kbd><span style=\"font-family:sans-serif\">b]</span>ar</kbd>",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo[]bar",
+	[]],
+["foo[]bar",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo[]bar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1"]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","0"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","0"]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","-5"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","-5"]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","6"]],
+	"foo<font size=\"6\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","6"]],
+	"foo<span style=\"font-size:xx-large\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","7"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","7"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","8"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","8"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","100"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","100"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","2em"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","2em"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","20pt"]],
+	"foo<span style=\"font-size:20pt\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","20pt"]],
+	"foo<span style=\"font-size:20pt\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","xx-large"]],
+	"foo<font size=\"6\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","xx-large"]],
+	"foo<span style=\"font-size:xx-large\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize"," 1 "]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize"," 1 "]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1."]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1."]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1.0"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1.0"]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1.0e2"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1.0e2"]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1.1"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1.1"]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1.9"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1.9"]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","+0"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","+0"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","+1"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","+1"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","+9"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","+9"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","-0"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","-0"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","-1"]],
+	"foo<font size=\"2\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","-1"]],
+	"foo<span style=\"font-size:small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","-9"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","-9"]],
+	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize",""]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize",""]],
+	"foo[bar]baz",
+	[]],
+["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",
+	[]],
+["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",
+	[]],
+["<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>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<table><tbody><tr><td>foo</td><td>b<span style=\"font-size:large\">[a]</span>r</td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<table><tbody><tr><td>foo</td>{<td><font size=\"4\">bar</font></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<table><tbody><tr><td>foo</td>{<td><span style=\"font-size:large\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<table><tbody><tr>{<td><font size=\"4\">foo</font></td><td><font size=\"4\">bar</font></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<table><tbody><tr>{<td><span style=\"font-size:large\">foo</span></td><td><span style=\"font-size:large\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<table><tbody>{<tr><td><font size=\"4\">foo</font></td><td><font size=\"4\">bar</font></td><td><font size=\"4\">baz</font></td></tr>}</tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<table><tbody>{<tr><td><span style=\"font-size:large\">foo</span></td><td><span style=\"font-size:large\">bar</span></td><td><span style=\"font-size:large\">baz</span></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<table>{<tbody><tr><td><font size=\"4\">foo</font></td><td><font size=\"4\">bar</font></td><td><font size=\"4\">baz</font></td></tr></tbody>}</table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<table>{<tbody><tr><td><span style=\"font-size:large\">foo</span></td><td><span style=\"font-size:large\">bar</span></td><td><span style=\"font-size:large\">baz</span></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"{<table><tbody><tr><td><font size=\"4\">foo</font></td><td><font size=\"4\">bar</font></td><td><font size=\"4\">baz</font></td></tr></tbody></table>}",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"{<table><tbody><tr><td><span style=\"font-size:large\">foo</span></td><td><span style=\"font-size:large\">bar</span></td><td><span style=\"font-size:large\">baz</span></td></tr></tbody></table>}",
+	[]],
+["foo<font size=1>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<font size=1>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["<font size=1>foo[bar]baz</font>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"1\">foo<font size=\"4\">[bar]</font>baz</font>",
+	[]],
+["<font size=1>foo[bar]baz</font>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"1\">foo<span style=\"font-size:large\">[bar]</span>baz</font>",
+	[]],
+["foo<font size=3>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<font size=3>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["<font size=3>foo[bar]baz</font>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"3\">foo<font size=\"4\">[bar]</font>baz</font>",
+	[]],
+["<font size=3>foo[bar]baz</font>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"3\">foo<span style=\"font-size:large\">[bar]</span>baz</font>",
+	[]],
+["foo<font size=4>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<font size=4>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["<font size=4>foo[bar]baz</font>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"4\">foo[bar]baz</font>",
+	[]],
+["<font size=4>foo[bar]baz</font>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"4\">foo[bar]baz</font>",
+	[]],
+["foo<font size=+1>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<font size=+1>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["<font size=+1>foo[bar]baz</font>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"+1\">foo[bar]baz</font>",
+	[]],
+["<font size=+1>foo[bar]baz</font>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"+1\">foo[bar]baz</font>",
+	[]],
+["<font size=4>foo<font size=1>b[a]r</font>baz</font>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"4\">foo<font size=\"1\">b</font>[a]<font size=\"1\">r</font>baz</font>",
+	[]],
+["<font size=4>foo<font size=1>b[a]r</font>baz</font>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"4\">foo<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</font>",
+	[]],
+["foo<span style=\"font-size: xx-small\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<span style=\"font-size: xx-small\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["<span style=\"font-size: xx-small\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<span style=\"font-size:xx-small\">foo<font size=\"4\">[bar]</font>baz</span>",
+	[]],
+["<span style=\"font-size: xx-small\">foo[bar]baz</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<span style=\"font-size:xx-small\">foo<span style=\"font-size:large\">[bar]</span>baz</span>",
+	[]],
+["foo<span style=\"font-size: medium\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<span style=\"font-size: medium\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["<span style=\"font-size: medium\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<span style=\"font-size:medium\">foo<font size=\"4\">[bar]</font>baz</span>",
+	[]],
+["<span style=\"font-size: medium\">foo[bar]baz</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<span style=\"font-size:medium\">foo<span style=\"font-size:large\">[bar]</span>baz</span>",
+	[]],
+["foo<span style=\"font-size: large\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<span style=\"font-size: large\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["<span style=\"font-size: large\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<span style=\"font-size:large\">foo[bar]baz</span>",
+	[]],
+["<span style=\"font-size: large\">foo[bar]baz</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<span style=\"font-size:large\">foo[bar]baz</span>",
+	[]],
+["<span style=\"font-size: large\">foo<span style=\"font-size: xx-small\">b[a]r</span>baz</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<span style=\"font-size:large\">foo<font size=\"1\">b</font>[a]<font size=\"1\">r</font>baz</span>",
+	[]],
+["<span style=\"font-size: large\">foo<span style=\"font-size: xx-small\">b[a]r</span>baz</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<span style=\"font-size:large\">foo<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</span>",
+	[]],
+["foo<span style=\"font-size: 2em\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<span style=\"font-size: 2em\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["<span style=\"font-size: 2em\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<span style=\"font-size:2em\">foo<font size=\"4\">[bar]</font>baz</span>",
+	[]],
+["<span style=\"font-size: 2em\">foo[bar]baz</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<span style=\"font-size:2em\">foo<span style=\"font-size:large\">[bar]</span>baz</span>",
+	[]],
+["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<p style=\"font-size:xx-small\">foo<font size=\"4\">[bar]</font>baz</p>",
+	[]],
+["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<p style=\"font-size:xx-small\">foo<span style=\"font-size:large\">[bar]</span>baz</p>",
+	[]],
+["<p style=\"font-size: medium\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<p style=\"font-size:medium\">foo<font size=\"4\">[bar]</font>baz</p>",
+	[]],
+["<p style=\"font-size: medium\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<p style=\"font-size:medium\">foo<span style=\"font-size:large\">[bar]</span>baz</p>",
+	[]],
+["<p style=\"font-size: large\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<p style=\"font-size:large\">foo[bar]baz</p>",
+	[]],
+["<p style=\"font-size: large\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<p style=\"font-size:large\">foo[bar]baz</p>",
+	[]],
+["<p style=\"font-size: 2em\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<p style=\"font-size:2em\">foo<font size=\"4\">[bar]</font>baz</p>",
+	[]],
+["<p style=\"font-size: 2em\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<p style=\"font-size:2em\">foo<span style=\"font-size:large\">[bar]</span>baz</p>",
+	[]],
+["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"<p><font size=\"1\">foo</font>[bar]<font size=\"1\">baz</font></p>",
+	[]],
+["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"<p><span style=\"font-size:xx-small\">foo</span>[bar]<span style=\"font-size:xx-small\">baz</span></p>",
+	[]],
+["<p style=\"font-size: medium\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"<p style=\"font-size:medium\">foo[bar]baz</p>",
+	[]],
+["<p style=\"font-size: medium\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"<p style=\"font-size:medium\">foo[bar]baz</p>",
+	[]],
+["<p style=\"font-size: large\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"<p><font size=\"4\">foo</font>[bar]<font size=\"4\">baz</font></p>",
+	[]],
+["<p style=\"font-size: large\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"<p><span style=\"font-size:large\">foo</span>[bar]<span style=\"font-size:large\">baz</span></p>",
+	[]],
+["<p style=\"font-size: 2em\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"<p><span style=\"font-size:2em\">foo</span>[bar]<span style=\"font-size:2em\">baz</span></p>",
+	[]],
+["<p style=\"font-size: 2em\">foo[bar]baz</p>",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"<p><span style=\"font-size:2em\">foo</span>[bar]<span style=\"font-size:2em\">baz</span></p>",
+	[]],
+["<font size=6>foo <span style=\"font-size: 2em\">b[a]r</span> baz</font>",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"<font size=\"6\">foo </font><span style=\"font-size:2em\">b</span>[a]<span style=\"font-size:2em\">r</span><font size=\"6\"> baz</font>",
+	[]],
+["<font size=6>foo <span style=\"font-size: 2em\">b[a]r</span> baz</font>",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"<span style=\"font-size:xx-large\">foo </span><span style=\"font-size:2em\">b</span>[a]<span style=\"font-size:2em\">r</span><span style=\"font-size:xx-large\"> baz</span>",
+	[]],
+["foo<big>[bar]</big>baz",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"foo<big><font size=\"3\">[bar]</font></big>baz",
+	[]],
+["foo<big>[bar]</big>baz",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"foo<big><span style=\"font-size:medium\">[bar]</span></big>baz",
+	[]],
+["foo<big>b[a]r</big>baz",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"foo<big>b<font size=\"3\">[a]</font>r</big>baz",
+	[]],
+["foo<big>b[a]r</big>baz",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"foo<big>b<span style=\"font-size:medium\">[a]</span>r</big>baz",
+	[]],
+["foo<small>[bar]</small>baz",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"foo<small><font size=\"3\">[bar]</font></small>baz",
+	[]],
+["foo<small>[bar]</small>baz",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"foo<small><span style=\"font-size:medium\">[bar]</span></small>baz",
+	[]],
+["foo<small>b[a]r</small>baz",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"foo<small>b<font size=\"3\">[a]</font>r</small>baz",
+	[]],
+["foo<small>b[a]r</small>baz",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"foo<small>b<span style=\"font-size:medium\">[a]</span>r</small>baz",
+	[]],
+["fo[o<font size=2>b]ar</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"fo<font size=\"4\">[o</font><font size=\"2\"><font size=\"4\">b]</font>ar</font>baz",
+	[]],
+["fo[o<font size=2>b]ar</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"fo<span style=\"font-size:large\">[o</span><font size=\"2\"><span style=\"font-size:large\">b]</span>ar</font>baz",
+	[]],
+["foo<font size=2>ba[r</font>b]az",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"2\">ba<font size=\"4\">[r</font></font><font size=\"4\">b]</font>az",
+	[]],
+["foo<font size=2>ba[r</font>b]az",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<font size=\"2\">ba<span style=\"font-size:large\">[r</span></font><span style=\"font-size:large\">b]</span>az",
+	[]],
+["fo[o<font size=2>bar</font>b]az",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"fo<font size=\"4\">[obarb]</font>az",
+	[]],
+["fo[o<font size=2>bar</font>b]az",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"fo<span style=\"font-size:large\">[obarb]</span>az",
+	[]],
+["foo[<font size=2>b]ar</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo[<font size=\"2\"><font size=\"4\">b]</font>ar</font>baz",
+	[]],
+["foo[<font size=2>b]ar</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo[<font size=\"2\"><span style=\"font-size:large\">b]</span>ar</font>baz",
+	[]],
+["foo<font size=2>ba[r</font>]baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"2\">ba<font size=\"4\">[r</font></font>]baz",
+	[]],
+["foo<font size=2>ba[r</font>]baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<font size=\"2\">ba<span style=\"font-size:large\">[r</span></font>]baz",
+	[]],
+["foo[<font size=2>bar</font>]baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo[<font size=\"4\">bar</font>]baz",
+	[]],
+["foo[<font size=2>bar</font>]baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo[<span style=\"font-size:large\">bar</span>]baz",
+	[]],
+["foo<font size=2>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[]],
+["foo<font size=2>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[]],
+["foo{<font size=2>bar</font>}baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo{<font size=\"4\">bar}</font>baz",
+	[]],
+["foo{<font size=2>bar</font>}baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo{<span style=\"font-size:large\">bar}</span>baz",
+	[]],
+["<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"1\">fo<font size=\"4\">[o</font></font><span style=\"font-size:xx-small\"><font size=\"4\">b]</font>ar</span>",
+	[]],
+["<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"1\">fo<span style=\"font-size:large\">[o</span></font><span style=\"font-size:xx-small\"><span style=\"font-size:large\">b]</span>ar</span>",
+	[]],
+["<font size=2>fo[o</font><span style=font-size:small>b]ar</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"2\">fo<font size=\"4\">[o</font></font><span style=\"font-size:small\"><font size=\"4\">b]</font>ar</span>",
+	[]],
+["<font size=2>fo[o</font><span style=font-size:small>b]ar</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"2\">fo<span style=\"font-size:large\">[o</span></font><span style=\"font-size:small\"><span style=\"font-size:large\">b]</span>ar</span>",
+	[]],
+["<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"3\">fo<font size=\"4\">[o</font></font><span style=\"font-size:medium\"><font size=\"4\">b]</font>ar</span>",
+	[]],
+["<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"3\">fo<span style=\"font-size:large\">[o</span></font><span style=\"font-size:medium\"><span style=\"font-size:large\">b]</span>ar</span>",
+	[]],
+["<font size=4>fo[o</font><span style=font-size:large>b]ar</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"4\">fo[o</font><span style=\"font-size:large\">b]ar</span>",
+	[]],
+["<font size=4>fo[o</font><span style=font-size:large>b]ar</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"4\">fo[o</font><span style=\"font-size:large\">b]ar</span>",
+	[]],
+["<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"5\">fo<font size=\"4\">[o</font></font><span style=\"font-size:x-large\"><font size=\"4\">b]</font>ar</span>",
+	[]],
+["<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"5\">fo<span style=\"font-size:large\">[o</span></font><span style=\"font-size:x-large\"><span style=\"font-size:large\">b]</span>ar</span>",
+	[]],
+["<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"6\">fo<font size=\"4\">[o</font></font><span style=\"font-size:xx-large\"><font size=\"4\">b]</font>ar</span>",
+	[]],
+["<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"6\">fo<span style=\"font-size:large\">[o</span></font><span style=\"font-size:xx-large\"><span style=\"font-size:large\">b]</span>ar</span>",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo[]bar",
+	[]],
+["foo[]bar",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo[]bar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo]bar[baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo]bar[baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar</font><i><font color=\"#0000ff\">baz]</font>qoz</i>quz",
+	[]],
+["foo[bar<i>baz]qoz</i>quz",
+	[["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",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","blue"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","blue"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","f"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","f"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","#f"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","#f"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","00f"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","00f"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","#00f"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","#00f"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","0000ff"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","0000ff"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","#0000ff"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","#0000ff"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","000000fff"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","000000fff"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","#000000fff"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","#000000fff"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgb(0, 0, 255)"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgb(0, 0, 255)"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgb(0%, 0%, 100%)"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgb(0%, 0%, 100%)"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgb( 0 ,0 ,255)"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgb( 0 ,0 ,255)"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgba(0, 0, 255, 0.0)"]],
+	"foo<span style=\"color:rgba(0, 0, 0, 0)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgba(0, 0, 255, 0.0)"]],
+	"foo<span style=\"color:rgba(0, 0, 0, 0)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgb(15, -10, 375)"]],
+	"foo<font color=\"#0f00ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgb(15, -10, 375)"]],
+	"foo<span style=\"color:rgb(15, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgba(0, 0, 0, 1)"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgba(0, 0, 0, 1)"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgba(255, 255, 255, 1)"]],
+	"foo<font color=\"#ffffff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgba(255, 255, 255, 1)"]],
+	"foo<span style=\"color:rgb(255, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgba(0, 0, 255, 0.5)"]],
+	"foo<span style=\"color:rgba(0, 0, 255, 0.5)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgba(0, 0, 255, 0.5)"]],
+	"foo<span style=\"color:rgba(0, 0, 255, 0.5)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","hsl(240, 100%, 50%)"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","hsl(240, 100%, 50%)"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","cornsilk"]],
+	"foo<font color=\"#fff8dc\">[bar]</font>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","cornsilk"]],
+	"foo<span style=\"color:rgb(255, 248, 220)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","potato quiche"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","potato quiche"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","transparent"]],
+	"foo<span style=\"color:rgba(0, 0, 0, 0)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","transparent"]],
+	"foo<span style=\"color:rgba(0, 0, 0, 0)\">[bar]</span>baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","currentColor"]],
+	"foo[bar]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","currentColor"]],
+	"foo[bar]baz",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<table><tbody><tr><td>foo</td><td>b<font color=\"#0000ff\">[a]</font>r</td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<table><tbody><tr><td>foo</td><td>b<span style=\"color:rgb(0, 0, 255)\">[a]</span>r</td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<table><tbody><tr><td>foo</td>{<td><font color=\"#0000ff\">bar</font></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<table><tbody><tr><td>foo</td>{<td><span style=\"color:rgb(0, 0, 255)\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<table><tbody><tr>{<td><font color=\"#0000ff\">foo</font></td><td><font color=\"#0000ff\">bar</font></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<table><tbody><tr>{<td><span style=\"color:rgb(0, 0, 255)\">foo</span></td><td><span style=\"color:rgb(0, 0, 255)\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<table><tbody>{<tr><td><font color=\"#0000ff\">foo</font></td><td><font color=\"#0000ff\">bar</font></td><td><font color=\"#0000ff\">baz</font></td></tr>}</tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<table><tbody>{<tr><td><span style=\"color:rgb(0, 0, 255)\">foo</span></td><td><span style=\"color:rgb(0, 0, 255)\">bar</span></td><td><span style=\"color:rgb(0, 0, 255)\">baz</span></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<table>{<tbody><tr><td><font color=\"#0000ff\">foo</font></td><td><font color=\"#0000ff\">bar</font></td><td><font color=\"#0000ff\">baz</font></td></tr></tbody>}</table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<table>{<tbody><tr><td><span style=\"color:rgb(0, 0, 255)\">foo</span></td><td><span style=\"color:rgb(0, 0, 255)\">bar</span></td><td><span style=\"color:rgb(0, 0, 255)\">baz</span></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"{<table><tbody><tr><td><font color=\"#0000ff\">foo</font></td><td><font color=\"#0000ff\">bar</font></td><td><font color=\"#0000ff\">baz</font></td></tr></tbody></table>}",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"{<table><tbody><tr><td><span style=\"color:rgb(0, 0, 255)\">foo</span></td><td><span style=\"color:rgb(0, 0, 255)\">bar</span></td><td><span style=\"color:rgb(0, 0, 255)\">baz</span></td></tr></tbody></table>}",
+	[]],
+["foo<font color=blue>[bar]</font>baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo<font color=blue>[bar]</font>baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo{<font color=blue>bar</font>}baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo{<font color=\"#0000ff\">bar}</font>baz",
+	[]],
+["foo{<font color=blue>bar</font>}baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo{<span style=\"color:rgb(0, 0, 255)\">bar}</span>baz",
+	[]],
+["<span style=\"color: blue\">foo<span style=\"color: brown\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"color: blue\">foo<span style=\"color: brown\">[bar]</span>baz</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"color: #00f\">foo<span style=\"color: brown\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"color: #00f\">foo<span style=\"color: brown\">[bar]</span>baz</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"color: #0000ff\">foo<span style=\"color: brown\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"color: #0000ff\">foo<span style=\"color: brown\">[bar]</span>baz</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"color: rgb(0, 0, 255)\">foo<span style=\"color: brown\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"color: rgb(0, 0, 255)\">foo<span style=\"color: brown\">[bar]</span>baz</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo[bar]baz</span>",
+	[]],
+["<font color=blue>foo<font color=brown>[bar]</font>baz</font>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"blue\">foo[bar]baz</font>",
+	[]],
+["<font color=blue>foo<font color=brown>[bar]</font>baz</font>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<font color=\"blue\">foo[bar]baz</font>",
+	[]],
+["<span style=\"color: rgb(0, 0, 255)\">foo<span style=\"color: brown\">b[ar]</span>baz</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo<font color=\"#a52a2a\">b</font>[ar]baz</span>",
+	[]],
+["<span style=\"color: rgb(0, 0, 255)\">foo<span style=\"color: brown\">b[ar]</span>baz</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo<span style=\"color:rgb(165, 42, 42)\">b</span>[ar]baz</span>",
+	[]],
+["foo<span id=purple>ba[r</span>ba]z",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<span id=\"purple\">ba<font color=\"#0000ff\">[r</font></span><font color=\"#0000ff\">ba]</font>z",
+	[]],
+["foo<span id=purple>ba[r</span>ba]z",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<span id=\"purple\">ba<span style=\"color:rgb(0, 0, 255)\">[r</span></span><span style=\"color:rgb(0, 0, 255)\">ba]</span>z",
+	[]],
+["<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo<span id=\"purple\">b<font color=\"#0000ff\">[a]</font>r</span>baz</span>",
+	[]],
+["<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo<span id=\"purple\">b<span style=\"color:rgb(0, 0, 255)\">[a]</span>r</span>baz</span>",
+	[]],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["stylewithcss","false"],["forecolor","blue"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[]],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["stylewithcss","true"],["forecolor","blue"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[]],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["stylewithcss","false"],["forecolor","#0000ff"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[]],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["stylewithcss","true"],["forecolor","#0000ff"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[]],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["stylewithcss","false"],["forecolor","rgb(0,0,255)"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[]],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["stylewithcss","true"],["forecolor","rgb(0,0,255)"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[]],
+["<font color=\"blue\">[foo]</font>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<font color=\"blue\">[foo]</font>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<font color=\"0000ff\">[foo]</font>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<font color=\"0000ff\">[foo]</font>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<font color=\"#0000ff\">[foo]</font>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<font color=\"#0000ff\">[foo]</font>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: blue\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: blue\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: #0000ff\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: #0000ff\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: rgb(0, 0, 255)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: rgb(0, 0, 255)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: rgb(0%, 0%, 100%)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: rgb(0%, 0%, 100%)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: rgb( 0 ,0 ,255)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: rgb( 0 ,0 ,255)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: rgba(0, 0, 255, 0.0)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: rgba(0, 0, 255, 0.0)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: rgb(15, -10, 375)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: rgb(15, -10, 375)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: rgba(0, 0, 0, 1)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: rgba(0, 0, 0, 1)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: rgba(255, 255, 255, 1)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: rgba(255, 255, 255, 1)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: rgba(0, 0, 255, 0.5)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: rgba(0, 0, 255, 0.5)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: hsl(240, 100%, 50%)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: hsl(240, 100%, 50%)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: cornsilk\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: cornsilk\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: transparent\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: transparent\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["<span style=\"color: currentColor\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[]],
+["<span style=\"color: currentColor\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[]],
+["fo[o<font color=brown>b]ar</font>baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"fo<font color=\"#0000ff\">[o</font><font color=\"brown\"><font color=\"#0000ff\">b]</font>ar</font>baz",
+	[]],
+["fo[o<font color=brown>b]ar</font>baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"fo<span style=\"color:rgb(0, 0, 255)\">[o</span><font color=\"brown\"><span style=\"color:rgb(0, 0, 255)\">b]</span>ar</font>baz",
+	[]],
+["foo<font color=brown>ba[r</font>b]az",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"brown\">ba<font color=\"#0000ff\">[r</font></font><font color=\"#0000ff\">b]</font>az",
+	[]],
+["foo<font color=brown>ba[r</font>b]az",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<font color=\"brown\">ba<span style=\"color:rgb(0, 0, 255)\">[r</span></font><span style=\"color:rgb(0, 0, 255)\">b]</span>az",
+	[]],
+["fo[o<font color=brown>bar</font>b]az",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"fo<font color=\"#0000ff\">[obarb]</font>az",
+	[]],
+["fo[o<font color=brown>bar</font>b]az",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"fo<span style=\"color:rgb(0, 0, 255)\">[obarb]</span>az",
+	[]],
+["foo[<font color=brown>b]ar</font>baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo[<font color=\"brown\"><font color=\"#0000ff\">b]</font>ar</font>baz",
+	[]],
+["foo[<font color=brown>b]ar</font>baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo[<font color=\"brown\"><span style=\"color:rgb(0, 0, 255)\">b]</span>ar</font>baz",
+	[]],
+["foo<font color=brown>ba[r</font>]baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"brown\">ba<font color=\"#0000ff\">[r</font></font>]baz",
+	[]],
+["foo<font color=brown>ba[r</font>]baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<font color=\"brown\">ba<span style=\"color:rgb(0, 0, 255)\">[r</span></font>]baz",
+	[]],
+["foo[<font color=brown>bar</font>]baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo[<font color=\"#0000ff\">bar</font>]baz",
+	[]],
+["foo[<font color=brown>bar</font>]baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo[<span style=\"color:rgb(0, 0, 255)\">bar</span>]baz",
+	[]],
+["foo<font color=brown>[bar]</font>baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[]],
+["foo<font color=brown>[bar]</font>baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[]],
+["foo{<font color=brown>bar</font>}baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo{<font color=\"#0000ff\">bar}</font>baz",
+	[]],
+["foo{<font color=brown>bar</font>}baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo{<span style=\"color:rgb(0, 0, 255)\">bar}</span>baz",
+	[]],
+["<font color=brown>fo[o</font><span style=color:brown>b]ar</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"brown\">fo<font color=\"#0000ff\">[o</font></font><span style=\"color:rgb(165, 42, 42)\"><font color=\"#0000ff\">b]</font>ar</span>",
+	[]],
+["<font color=brown>fo[o</font><span style=color:brown>b]ar</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<font color=\"brown\">fo<span style=\"color:rgb(0, 0, 255)\">[o</span></font><span style=\"color:rgb(165, 42, 42)\"><span style=\"color:rgb(0, 0, 255)\">b]</span>ar</span>",
+	[]],
+["<span style=color:brown>fo[o</span><span style=color:#0000ff>b]ar</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(165, 42, 42)\">fo<font color=\"#0000ff\">[o</font></span><span style=\"color:rgb(0, 0, 255)\">b]ar</span>",
+	[]],
+["<span style=color:brown>fo[o</span><span style=color:#0000ff>b]ar</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(165, 42, 42)\">fo<span style=\"color:rgb(0, 0, 255)\">[o</span></span><span style=\"color:rgb(0, 0, 255)\">b]ar</span>",
+	[]],
+["foo[]bar<p>extra",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>foo[]bar</div><p>extra</p>",
+	[]],
+["<span>foo</span>{}<span>bar</span><p>extra",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div><span>foo</span>{}<span>bar</span></div><p>extra</p>",
+	[]],
+["<span>foo[</span><span>]bar</span><p>extra",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div><span>foo[</span><span>]bar</span></div><p>extra</p>",
+	[]],
+["foo[bar]baz<p>extra",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>foo[bar]baz</div><p>extra</p>",
+	[]],
+["foo]bar[baz<p>extra",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>foo[bar]baz</div><p>extra</p>",
+	[]],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>{ </div><div>foo}</div>",
+	[]],
+["foo[bar<i>baz]qoz</i>quz<p>extra",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>foo[bar<i>baz]qoz</i>quz</div><p>extra</p>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<table><tbody><tr><td>foo</td><td><div>b[a]r</div></td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<table><tbody><tr><td>foo</td>{<td><div>bar</div></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<table><tbody><tr>{<td><div>foo</div></td><td><div>bar</div></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<table><tbody>{<tr><td><div>foo</div></td><td><div>bar</div></td><td><div>baz</div></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<table>{<tbody><tr><td><div>foo</div></td><td><div>bar</div></td><td><div>baz</div></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"{<table><tbody><tr><td><div>foo</div></td><td><div>bar</div></td><td><div>baz</div></td></tr></tbody></table>}",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<blockquote>[foobar]</blockquote>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<blockquote><div>[foobar]</div></blockquote>",
+	[]],
+["<h1>[foobar]</h1>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<h2>[foobar]</h2>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<h3>[foobar]</h3>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<h4>[foobar]</h4>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<h5>[foobar]</h5>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<h6>[foobar]</h6>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<dl><dt>[foo]<dd>bar</dl>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foo]</div><dl><dd>bar</dd></dl>",
+	[]],
+["<dl><dt>foo<dd>[bar]</dl>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<dl><dt>foo</dt></dl><div>[bar]</div>",
+	[]],
+["<dl><dt>[foo<dd>bar]</dl>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foo</div><div>bar]</div>",
+	[]],
+["<ol><li>[foobar]</ol>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<ol><li><div>[foobar]</div></li></ol>",
+	[]],
+["<ul><li>[foobar]</ul>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<ul><li><div>[foobar]</div></li></ul>",
+	[]],
+["<address>[foobar]</address>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<pre>[foobar]</pre>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<article>[foobar]</article>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<article><div>[foobar]</div></article>",
+	[]],
+["<ins>[foobar]</ins>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div><ins>[foobar]</ins></div>",
+	[]],
+["<del>[foobar]</del>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div><del>[foobar]</del></div>",
+	[]],
+["<quasit>[foobar]</quasit>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div><quasit>[foobar]</quasit></div>",
+	[]],
+["<quasit style=\"display: block\">[foobar]</quasit>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div><quasit style=\"display:block\">[foobar]</quasit></div>",
+	[]],
+["foo[]bar<p>extra",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>foo[]bar</p><p>extra</p>",
+	[]],
+["<span>foo</span>{}<span>bar</span><p>extra",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p><span>foo</span>{}<span>bar</span></p><p>extra</p>",
+	[]],
+["<span>foo[</span><span>]bar</span><p>extra",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p><span>foo[</span><span>]bar</span></p><p>extra</p>",
+	[]],
+["foo[bar]baz<p>extra",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>foo[bar]baz</p><p>extra</p>",
+	[]],
+["foo]bar[baz<p>extra",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>foo[bar]baz</p><p>extra</p>",
+	[]],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>{ </p><p>foo}</p>",
+	[]],
+["foo[bar<i>baz]qoz</i>quz<p>extra",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>foo[bar<i>baz]qoz</i>quz</p><p>extra</p>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<table><tbody><tr><td>foo</td><td><p>b[a]r</p></td><td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<table><tbody><tr><td>foo</td>{<td><p>bar</p></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<table><tbody><tr>{<td><p>foo</p></td><td><p>bar</p></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<table><tbody>{<tr><td><p>foo</p></td><td><p>bar</p></td><td><p>baz</p></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<table>{<tbody><tr><td><p>foo</p></td><td><p>bar</p></td><td><p>baz</p></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"{<table><tbody><tr><td><p>foo</p></td><td><p>bar</p></td><td><p>baz</p></td></tr></tbody></table>}",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<blockquote>[foobar]</blockquote>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<blockquote><p>[foobar]</p></blockquote>",
+	[]],
+["<h1>[foobar]</h1>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<h2>[foobar]</h2>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<h3>[foobar]</h3>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<h4>[foobar]</h4>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<h5>[foobar]</h5>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<h6>[foobar]</h6>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<dl><dt>[foo]<dd>bar</dl>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo]</p><dl><dd>bar</dd></dl>",
+	[]],
+["<dl><dt>foo<dd>[bar]</dl>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<dl><dt>foo</dt></dl><p>[bar]</p>",
+	[]],
+["<dl><dt>[foo<dd>bar]</dl>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<ol><li>[foobar]</ol>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<ol><li><p>[foobar]</p></li></ol>",
+	[]],
+["<ul><li>[foobar]</ul>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<ul><li><p>[foobar]</p></li></ul>",
+	[]],
+["<address>[foobar]</address>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<pre>[foobar]</pre>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<listing>[foobar]</listing>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<xmp>[foobar]</xmp>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<article>[foobar]</article>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<article><p>[foobar]</p></article>",
+	[]],
+["<ins>[foobar]</ins>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p><ins>[foobar]</ins></p>",
+	[]],
+["<del>[foobar]</del>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p><del>[foobar]</del></p>",
+	[]],
+["<quasit>[foobar]</quasit>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p><quasit>[foobar]</quasit></p>",
+	[]],
+["<quasit style=\"display: block\">[foobar]</quasit>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p><quasit style=\"display:block\">[foobar]</quasit></p>",
+	[]],
+["<blockquote>[foo]</blockquote><p>extra",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<blockquote>[foo]</blockquote><p>extra</p>",
+	[]],
+["<blockquote><p>[foo]<p>bar</blockquote><p>extra",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<blockquote><p>[foo]</p><p>bar</p></blockquote><p>extra</p>",
+	[]],
+["[foo]<blockquote>bar</blockquote><p>extra",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"[foo]<blockquote>bar</blockquote><p>extra</p>",
+	[]],
+["<p>[foo<p>bar]<p>baz",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<p>[foo</p><p>bar]</p><p>baz</p>",
+	[]],
+["<section>[foo]</section>",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<section>[foo]</section>",
+	[]],
+["<section><p>[foo]</section>",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<section><p>[foo]</p></section>",
+	[]],
+["<section><hgroup><h1>[foo]</h1><h2>bar</h2></hgroup><p>baz</section>",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<section><hgroup><h1>[foo]</h1><h2>bar</h2></hgroup><p>baz</p></section>",
+	[]],
+["<section>[foo]</section>",
+	[["stylewithcss","false"],["formatblock","<article>"]],
+	"<section>[foo]</section>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foobar]</address>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<article>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<dd>"]],
+	"<dl><dd>[foobar]</dd></dl>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<del>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<dl>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<dt>"]],
+	"<dl><dt>[foobar]</dt></dl>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foobar]</h1>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<h2>"]],
+	"<h2>[foobar]</h2>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<h3>"]],
+	"<h3>[foobar]</h3>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<h4>"]],
+	"<h4>[foobar]</h4>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<h5>"]],
+	"<h5>[foobar]</h5>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<h6>"]],
+	"<h6>[foobar]</h6>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<ins>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<li>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<ol>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foobar]</pre>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<ul>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","<quasit>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foobar]</address>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<article>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<aside>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<body>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<dd>"]],
+	"<dl><dd>[foobar]</dd></dl>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<del>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<details>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<dir>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foobar]</div>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<dl>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<dt>"]],
+	"<dl><dt>[foobar]</dt></dl>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<fieldset>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<figcaption>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<figure>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<footer>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<form>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foobar]</h1>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<h2>"]],
+	"<h2>[foobar]</h2>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<h3>"]],
+	"<h3>[foobar]</h3>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<h4>"]],
+	"<h4>[foobar]</h4>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<h5>"]],
+	"<h5>[foobar]</h5>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<h6>"]],
+	"<h6>[foobar]</h6>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<header>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<head>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<hgroup>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<hr>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<html>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<ins>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<li>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<listing>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<menu>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<nav>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<ol>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<plaintext>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foobar]</pre>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<section>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<ul>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<xmp>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foobar]</p>",
+	[["stylewithcss","false"],["formatblock","<quasit>"]],
+	"<p>[foobar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foo<br>bar]</address>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<article>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<aside>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<blockquote>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<body>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<dd>"]],
+	"<dl><dd>[foo</dd><dd>bar]</dd></dl>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<del>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<details>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<dir>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foo</div><div>bar]</div>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<dl>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<dt>"]],
+	"<dl><dt>[foo</dt><dt>bar]</dt></dl>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<fieldset>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<figcaption>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<figure>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<footer>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<form>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo<br>bar]</h1>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<h2>"]],
+	"<h2>[foo<br>bar]</h2>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<h3>"]],
+	"<h3>[foo<br>bar]</h3>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<h4>"]],
+	"<h4>[foo<br>bar]</h4>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<h5>"]],
+	"<h5>[foo<br>bar]</h5>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<h6>"]],
+	"<h6>[foo<br>bar]</h6>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<header>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<head>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<hgroup>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<hr>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<html>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<ins>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<li>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<listing>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<menu>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<nav>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<ol>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<plaintext>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foo<br>bar]</pre>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<section>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<ul>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<xmp>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<p>[foo<p>bar]",
+	[["stylewithcss","false"],["formatblock","<quasit>"]],
+	"<p>[foo</p><p>bar]</p>",
+	[]],
+["<div>[foobar]</div>",
+	[["stylewithcss","false"],["formatblock","p"]],
+	"<p>[foobar]</p>",
+	[]],
+["<ol><li>[foo]<li>bar</ol>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<ol><li><div>[foo]</div></li><li>bar</li></ol>",
+	[]],
+["<h1>[foo]<br>bar</h1>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo]</p><h1>bar</h1>",
+	[]],
+["<h1>foo<br>[bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<h1>foo</h1><p>[bar]</p>",
+	[]],
+["<h1>[foo<br>bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo<br>bar]</p>",
+	[]],
+["<h1>[foo]<br>bar</h1>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foo]</address><h1>bar</h1>",
+	[]],
+["<h1>foo<br>[bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<h1>foo</h1><address>[bar]</address>",
+	[]],
+["<h1>[foo<br>bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foo<br>bar]</address>",
+	[]],
+["<h1>[foo]<br>bar</h1>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foo]</pre><h1>bar</h1>",
+	[]],
+["<h1>foo<br>[bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<h1>foo</h1><pre>[bar]</pre>",
+	[]],
+["<h1>[foo<br>bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foo<br>bar]</pre>",
+	[]],
+["<h1>[foo]<br>bar</h1>",
+	[["stylewithcss","false"],["formatblock","<h2>"]],
+	"<h2>[foo]</h2><h1>bar</h1>",
+	[]],
+["<h1>foo<br>[bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<h2>"]],
+	"<h1>foo</h1><h2>[bar]</h2>",
+	[]],
+["<h1>[foo<br>bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<h2>"]],
+	"<h2>[foo<br>bar]</h2>",
+	[]],
+["<p>[foo]<br>bar</p>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo]</h1><p>bar</p>",
+	[]],
+["<p>foo<br>[bar]</p>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<p>foo</p><h1>[bar]</h1>",
+	[]],
+["<p>[foo<br>bar]</p>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo<br>bar]</h1>",
+	[]],
+["<p>[foo]<br>bar</p>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foo]</address><p>bar</p>",
+	[]],
+["<p>foo<br>[bar]</p>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<p>foo</p><address>[bar]</address>",
+	[]],
+["<p>[foo<br>bar]</p>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foo<br>bar]</address>",
+	[]],
+["<p>[foo]<br>bar</p>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foo]</pre><p>bar</p>",
+	[]],
+["<p>foo<br>[bar]</p>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<p>foo</p><pre>[bar]</pre>",
+	[]],
+["<p>[foo<br>bar]</p>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foo<br>bar]</pre>",
+	[]],
+["<address>[foo]<br>bar</address>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo]</p><address>bar</address>",
+	[]],
+["<address>foo<br>[bar]</address>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<address>foo</address><p>[bar]</p>",
+	[]],
+["<address>[foo<br>bar]</address>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo<br>bar]</p>",
+	[]],
+["<address>[foo]<br>bar</address>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foo]</pre><address>bar</address>",
+	[]],
+["<address>foo<br>[bar]</address>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<address>foo</address><pre>[bar]</pre>",
+	[]],
+["<address>[foo<br>bar]</address>",
+	[["stylewithcss","false"],["formatblock","<pre>"]],
+	"<pre>[foo<br>bar]</pre>",
+	[]],
+["<address>[foo]<br>bar</address>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo]</h1><address>bar</address>",
+	[]],
+["<address>foo<br>[bar]</address>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<address>foo</address><h1>[bar]</h1>",
+	[]],
+["<address>[foo<br>bar]</address>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo<br>bar]</h1>",
+	[]],
+["<pre>[foo]<br>bar</pre>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo]</p><pre>bar</pre>",
+	[]],
+["<pre>foo<br>[bar]</pre>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<pre>foo</pre><p>[bar]</p>",
+	[]],
+["<pre>[foo<br>bar]</pre>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo<br>bar]</p>",
+	[]],
+["<pre>[foo]<br>bar</pre>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foo]</address><pre>bar</pre>",
+	[]],
+["<pre>foo<br>[bar]</pre>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<pre>foo</pre><address>[bar]</address>",
+	[]],
+["<pre>[foo<br>bar]</pre>",
+	[["stylewithcss","false"],["formatblock","<address>"]],
+	"<address>[foo<br>bar]</address>",
+	[]],
+["<pre>[foo]<br>bar</pre>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo]</h1><pre>bar</pre>",
+	[]],
+["<pre>foo<br>[bar]</pre>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<pre>foo</pre><h1>[bar]</h1>",
+	[]],
+["<pre>[foo<br>bar]</pre>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo<br>bar]</h1>",
+	[]],
+["<p>[foo</p>bar]",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo<br>bar]</h1>",
+	[]],
+["[foo<p>bar]</p>",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>[foo<br>bar]</h1>",
+	[]],
+["<div>[foo<p>bar]</p></div>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<div><p>[foo</p><p>bar]</p></div>",
+	[]],
+["<xmp>[foo]</xmp>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p>[foo]</p>",
+	[]],
+["<xmp>[foo]</xmp>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foo]</div>",
+	[]],
+["<div><ol><li>[foo]</ol></div>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div><ol><li><div>[foo]</div></li></ol></div>",
+	[]],
+["<div><table><tr><td>[foo]</table></div>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div><table><tbody><tr><td><div>[foo]</div></td></tr></tbody></table></div>",
+	[]],
+["<p>[foo<h1>bar]</h1>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foo</div><div>bar]</div>",
+	[]],
+["<h1>[foo</h1><h2>bar]</h2>",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foo</div><div>bar]</div>",
+	[]],
+["<div>[foo</div>bar]",
+	[["stylewithcss","false"],["formatblock","<div>"]],
+	"<div>[foo</div><div>bar]</div>",
+	[]],
+["<div style=color:blue>[foo]</div>",
+	[["stylewithcss","false"],["formatblock","<p>"]],
+	"<p><font color=\"#0000ff\">[foo]</font></p>",
+	[]],
+["{<p>foo</p>ba]r",
+	[["stylewithcss","false"],["formatblock","<h1>"]],
+	"<h1>{foo<br>ba]r</h1>",
+	[]],
+["foo[]",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}",
+	[]],
+["<span>foo[]</span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<span>foo</span>{}",
+	[]],
+["<p>foo[]</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}</p>",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo[]ar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<span>foo</span><span>{}ar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<span>foo[]</span><span>bar</span>",
+	[]],
+["foo[]<span style=display:none>bar</span>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}az",
+	[]],
+["foo[]<script>bar</script>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}az",
+	[]],
+["fo[]&ouml;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"fo[]bar",
+	[]],
+["fo[]o&#x308;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"fo[]bar",
+	[]],
+["fo[]o&#x308;&#x327;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"fo[]bar",
+	[]],
+["[]&ouml;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"{}bar",
+	[]],
+["[]o&#x308;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"{}bar",
+	[]],
+["[]o&#x308;&#x327;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"{}bar",
+	[]],
+["[]&#x5e9;&#x5c1;&#x5b8;&#x5dc;&#x5d5;&#x5b9;&#x5dd;",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"{}לוֹם",
+	[]],
+["&#x5e9;&#x5c1;&#x5b8;&#x5dc;[]&#x5d5;&#x5b9;&#x5dd;",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"שָׁל[]ם",
+	[]],
+["<p>foo[]</p><p>bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo[]</p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["foo[]<p>bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<p>foo[]<br></p><p>bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo[]<br></p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["foo[]<br><p>bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<p>{}<br></p>foo",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>{}foo</p>",
+	[]],
+["<p>{}<span><br></span></p>foo",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>{}foo</p>",
+	[]],
+["foo{}<p><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}",
+	[]],
+["foo{}<p><span><br></span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}",
+	[]],
+["foo{}<br><p><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}",
+	[]],
+["foo{}<span><br></span><p><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}",
+	[]],
+["foo{}<br><p><span><br></span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}",
+	[]],
+["foo{}<span><br></span><p><span><br></span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}",
+	[]],
+["foo{}<p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}",
+	[]],
+["<table><tr><td>{}</table>foo",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>{}</td></tr></tbody></table>foo",
+	[]],
+["<table><tr><td>{}<br></table>foo",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>{}<br></td></tr></tbody></table>foo",
+	[]],
+["<table><tr><td>{}<span><br></span></table>foo",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>{}<span><br></span></td></tr></tbody></table>foo",
+	[]],
+["<div><p>foo[]</p></div><p>bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[]],
+["<p>foo[]</p><div><p>bar</p></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<div><p>foo[]</p></div><div><p>bar</p></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[]],
+["<div><p>foo[]</p></div>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[]],
+["foo[]<div><p>bar</p></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<div>foo[]</div><div>bar</div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div>foo{}bar</div>",
+	[]],
+["<pre>foo[]</pre>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<pre>foo{}bar</pre>",
+	[]],
+["foo[]<br>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<b>foo[]</b><br>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<b>foo</b>{}bar",
+	[]],
+["foo[]<hr>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<p>foo[]<hr><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}</p><p>bar</p>",
+	[]],
+["<p>foo[]</p><br><p>bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}</p><p>bar</p>",
+	[]],
+["<p>foo[]</p><br><br><p>bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}</p><br><p>bar</p>",
+	[]],
+["<p>foo[]</p><img src=/img/lion.svg><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<img src=\"/img/lion.svg\"></p><p>bar</p>",
+	[]],
+["foo[]<img src=/img/lion.svg>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<a>bar</a>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<a>{}ar</a>",
+	[]],
+["foo[]<a href=/>bar</a>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<a href=\"/\">{}ar</a>",
+	[]],
+["foo[]<a name=abc>bar</a>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<a name=\"abc\">{}ar</a>",
+	[]],
+["foo[]<a href=/ name=abc>bar</a>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<a href=\"/\" name=\"abc\">{}ar</a>",
+	[]],
+["foo[]<span><a>bar</a></span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<span><a>{}ar</a></span>",
+	[]],
+["foo[]<span><a href=/>bar</a></span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<span><a href=\"/\">{}ar</a></span>",
+	[]],
+["foo[]<span><a name=abc>bar</a></span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<span><a name=\"abc\">{}ar</a></span>",
+	[]],
+["foo[]<span><a href=/ name=abc>bar</a></span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<span><a href=\"/\" name=\"abc\">{}ar</a></span>",
+	[]],
+["<a>foo[]</a>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<a>foo</a>{}ar",
+	[]],
+["<a href=/>foo[]</a>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<a href=\"/\">foo</a>{}ar",
+	[]],
+["<a name=abc>foo[]</a>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<a name=\"abc\">foo</a>{}ar",
+	[]],
+["<a href=/ name=abc>foo[]</a>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<a href=\"/\" name=\"abc\">foo</a>{}ar",
+	[]],
+["foo[] &nbsp;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo[] bar",
+	[]],
+["foo[]&nbsp; bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo[] bar",
+	[]],
+["foo[]&nbsp;&nbsp;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo[] bar",
+	[]],
+["foo[]  bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo[]bar",
+	[]],
+["<b>foo[] </b>&nbsp;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<b>foo[]</b> bar",
+	[]],
+["<b>foo[]&nbsp;</b> bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<b>foo[]</b> bar",
+	[]],
+["<b>foo[]&nbsp;</b>&nbsp;bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<b>foo[]</b> bar",
+	[]],
+["<b>foo[] </b> bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<b>foo[]</b>bar",
+	[]],
+["foo[]<table><tr><td>bar</table>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{<table><tbody><tr><td>bar</td></tr></tbody></table>}baz",
+	[]],
+["foo<table><tr><td>bar[]</table>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<table><tbody><tr><td>bar[]</td></tr></tbody></table>baz",
+	[]],
+["<p>foo[]<table><tr><td>bar</table><p>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p>{<table><tbody><tr><td>bar</td></tr></tbody></table>}<p>baz</p>",
+	[]],
+["<table><tr><td>foo[]<td>bar</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>foo{}</td><td>bar</td></tr></tbody></table>",
+	[]],
+["<table><tr><td>foo[]<tr><td>bar</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>foo{}</td></tr><tr><td>bar</td></tr></tbody></table>",
+	[]],
+["foo[]<br><table><tr><td>bar</table>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{<table><tbody><tr><td>bar</td></tr></tbody></table>}baz",
+	[]],
+["foo<table><tr><td>bar[]<br></table>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<table><tbody><tr><td>bar[]</td></tr></tbody></table>baz",
+	[]],
+["<p>foo[]<br><table><tr><td>bar</table><p>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p>{<table><tbody><tr><td>bar</td></tr></tbody></table>}<p>baz</p>",
+	[]],
+["<p>foo<table><tr><td>bar[]<br></table><p>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p><table><tbody><tr><td>bar[]</td></tr></tbody></table><p>baz</p>",
+	[]],
+["<table><tr><td>foo[]<br><td>bar</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>foo{}</td><td>bar</td></tr></tbody></table>",
+	[]],
+["<table><tr><td>foo[]<br><tr><td>bar</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>foo{}</td></tr><tr><td>bar</td></tr></tbody></table>",
+	[]],
+["foo<table><tr><td>bar[]</table><br>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<table><tbody><tr><td>bar[]</td></tr></tbody></table><br>baz",
+	[]],
+["foo[]<table><tr><td><hr>bar</table>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{<table><tbody><tr><td><hr>bar</td></tr></tbody></table>}baz",
+	[]],
+["<table><tr><td>foo[]<td><hr>bar</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>foo{}</td><td><hr>bar</td></tr></tbody></table>",
+	[]],
+["<table><tr><td>foo[]<tr><td><hr>bar</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>foo{}</td></tr><tr><td><hr>bar</td></tr></tbody></table>",
+	[]],
+["foo[]<ol><li>bar<li>baz</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<ol><li>baz</li></ol>",
+	[]],
+["foo[]<br><ol><li>bar<li>baz</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo[]<li>bar</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>foo[]<br><li>bar</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>foo[]<li>bar<br>baz</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar<br>baz</li></ol>",
+	[]],
+["<ol><li><p>foo[]<li>bar</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li><p>foo{}bar</p></li></ol>",
+	[]],
+["<ol><li>foo[]<li><p>bar</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li><p>foo[]<li><p>bar</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li><p>foo{}bar</p></li></ol>",
+	[]],
+["<ol><li>foo[]<ul><li>bar</ul></ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["foo[]<ol><ol><li>bar</ol></ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<div><ol><li>bar</ol></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<dl><dt>bar<dd>baz</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<dl><dd>baz</dd></dl>",
+	[]],
+["foo[]<dl><dd>bar</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<dl><dt>foo[]<dd>bar</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<dl><dt>foo{}bar</dt></dl>",
+	[]],
+["<dl><dt>foo[]<dt>bar<dd>baz</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<dl><dt>foo{}bar</dt><dd>baz</dd></dl>",
+	[]],
+["<dl><dt>foo<dd>bar[]<dd>baz</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<dl><dt>foo</dt><dd>bar{}baz</dd></dl>",
+	[]],
+["<ol><li>foo[]</ol>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>foo[]<br></ol>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>{}<br></ol>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>{}bar</li></ol>",
+	[]],
+["<ol><li>foo<li>{}<br></ol>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo</li><li>{}bar</li></ol>",
+	[]],
+["<ol><li>foo[]</ol><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>foo[]<br></ol><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["<ol><li>{}<br></ol><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>{}bar</li></ol>",
+	[]],
+["<ol><li>foo<li>{}<br></ol><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo</li><li>{}bar</li></ol>",
+	[]],
+["<ol><li>foo[]</ol><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[]],
+["<ol><li>foo[]<br></ol><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[]],
+["<ol><li>{}<br></ol><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>{}<br></li></ol>",
+	[]],
+["<ol><li>foo<li>{}<br></ol><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo</li><li>{}<br></li></ol>",
+	[]],
+["<ol><li>foo[]</ol><p><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[]],
+["<ol><li>foo[]<br></ol><p><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[]],
+["<ol><li>{}<br></ol><p><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>{}<br></li></ol>",
+	[]],
+["<ol><li>foo<li>{}<br></ol><p><br>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo</li><li>{}<br></li></ol>",
+	[]],
+["foo[]<blockquote>bar</blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<blockquote><blockquote>bar</blockquote></blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<blockquote><div>bar</div></blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<blockquote style=\"color: blue\">bar</blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}<font color=\"#0000ff\">bar</font>",
+	[]],
+["foo[]<blockquote><blockquote><p>bar<p>baz</blockquote></blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<blockquote><blockquote><p>baz</p></blockquote></blockquote>",
+	[]],
+["foo[]<blockquote><div><p>bar<p>baz</div></blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<blockquote><div><p>baz</p></div></blockquote>",
+	[]],
+["foo[]<blockquote style=\"color: blue\"><p>bar<p>baz</blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}<font color=\"#0000ff\">bar</font><blockquote style=\"color:rgb(0, 0, 255)\"><p>baz</p></blockquote>",
+	[]],
+["foo[]<blockquote><p><b>bar</b><p>baz</blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}<b>bar</b><blockquote><p>baz</p></blockquote>",
+	[]],
+["foo[]<blockquote><p><strong>bar</strong><p>baz</blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}<strong>bar</strong><blockquote><p>baz</p></blockquote>",
+	[]],
+["foo[]<blockquote><p><span>bar</span><p>baz</blockquote>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}<span>bar</span><blockquote><p>baz</p></blockquote>",
+	[]],
+["foo[]<blockquote><ol><li>bar</ol></blockquote><p>extra",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<p>extra</p>",
+	[]],
+["foo[]<blockquote>bar<ol><li>baz</ol>quz</blockquote><p>extra",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<blockquote><ol><li>baz</li></ol>quz</blockquote><p>extra</p>",
+	[]],
+["foo<blockquote><ol><li>bar[]</li><ol><li>baz</ol><li>quz</ol></blockquote><p>extra",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<blockquote><ol><li>bar{}baz</li><li>quz</li></ol></blockquote><p>extra</p>",
+	[]],
+["foo[]<span></span>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}ar",
+	[]],
+["foo[]<span><span></span></span>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}ar",
+	[]],
+["foo[]<quasit></quasit>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}ar",
+	[]],
+["foo[]<span></span><br>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<span>foo[]<span></span></span>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<span>foo</span>{}ar",
+	[]],
+["foo[]<span></span><span>bar</span>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<span>{}ar</span>",
+	[]],
+["foo[]<div><div><p>bar</div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<div><div><p><!--abc-->bar</div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<div><div><!--abc--><p>bar</div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<div><!--abc--><div><p>bar</div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[]<!--abc--><div><div><p>bar</div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<div><div><p>foo[]</div></div>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</div></div><!--abc-->bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</div><!--abc--></div>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</p><!--abc--></div></div>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]<!--abc--></div></div>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</p></div></div><div><div><div>bar</div></div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]<!--abc--></p></div></div><div><div><div>bar</div></div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</p><!--abc--></div></div><div><div><div>bar</div></div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</p></div><!--abc--></div><div><div><div>bar</div></div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</p></div></div><!--abc--><div><div><div>bar</div></div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</p></div></div><div><!--abc--><div><div>bar</div></div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</p></div></div><div><div><!--abc--><div>bar</div></div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<div><div><p>foo[]</p></div></div><div><div><div><!--abc-->bar</div></div></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[]],
+["<p style=color:blue>foo[]<p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><font color=\"#0000ff\">foo{}</font>bar</p>",
+	[]],
+["<p style=color:blue>foo[]<p style=color:brown>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<font color=\"#a52a2a\">bar</font></p>",
+	[]],
+["<p>foo[]<p style=color:brown>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<font color=\"#a52a2a\">bar</font></p>",
+	[]],
+["<p><font color=blue>foo[]</font><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><font color=\"blue\">foo</font>{}bar</p>",
+	[]],
+["<p><font color=blue>foo[]</font><p><font color=brown>bar</font>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><font color=\"blue\">foo</font>{}<font color=\"brown\">bar</font></p>",
+	[]],
+["<p>foo[]<p><font color=brown>bar</font>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<font color=\"brown\">bar</font></p>",
+	[]],
+["<p><span style=color:blue>foo[]</font><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo</span>{}bar</p>",
+	[]],
+["<p><span style=color:blue>foo[]</font><p><span style=color:brown>bar</font>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo</span>{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[]],
+["<p>foo[]<p><span style=color:brown>bar</font>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[]],
+["<p style=background-color:aqua>foo[]<p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[]],
+["<p style=background-color:aqua>foo[]<p style=background-color:tan>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[]],
+["<p>foo[]<p style=background-color:tan>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p><span style=background-color:aqua>foo[]</font><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">foo</span>{}bar</p>",
+	[]],
+["<p><span style=background-color:aqua>foo[]</font><p><span style=background-color:tan>bar</font>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">foo</span>{}<span style=\"background-color:rgb(210, 180, 140)\">bar</span></p>",
+	[]],
+["<p>foo[]<p><span style=background-color:tan>bar</font>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<span style=\"background-color:rgb(210, 180, 140)\">bar</span></p>",
+	[]],
+["<p style=text-decoration:underline>foo[]<p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><u>foo{}</u>bar</p>",
+	[]],
+["<p style=text-decoration:underline>foo[]<p style=text-decoration:line-through>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><u>foo{}</u><s>bar</s></p>",
+	[]],
+["<p>foo[]<p style=text-decoration:line-through>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<s>bar</s></p>",
+	[]],
+["<p><u>foo[]</u><p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><u>foo</u>{}bar</p>",
+	[]],
+["<p><u>foo[]</u><p><s>bar</s>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><u>foo</u>{}<s>bar</s></p>",
+	[]],
+["<p>foo[]<p><s>bar</s>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<s>bar</s></p>",
+	[]],
+["<p style=color:blue>foo[]</p>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><font color=\"#0000ff\">foo{}</font>bar</p>",
+	[]],
+["foo[]<p style=color:brown>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}<font color=\"#a52a2a\">bar</font>",
+	[]],
+["<div style=color:blue><p style=color:green>foo[]</div>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><p><font color=\"#008000\">foo{}</font>bar</p></div>",
+	[]],
+["<div style=color:blue><p style=color:green>foo[]</div><p style=color:brown>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div style=\"color:rgb(0, 0, 255)\"><p style=\"color:rgb(0, 128, 0)\">foo{}<font color=\"#a52a2a\">bar</font></p></div>",
+	[]],
+["<p style=color:blue>foo[]<div style=color:brown><p style=color:green>bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<font color=\"#008000\">bar</font></p>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo[]baz",
+	[]],
+["<p>foo<span style=color:#aBcDeF>[bar]</span>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}baz</p>",
+	[]],
+["<p>foo<span style=color:#aBcDeF>{bar}</span>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}baz</p>",
+	[]],
+["<p>foo{<span style=color:#aBcDeF>bar</span>}baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}baz</p>",
+	[]],
+["<p>[foo<span style=color:#aBcDeF>bar]</span>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>{}baz</p>",
+	[]],
+["<p>{foo<span style=color:#aBcDeF>bar}</span>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>{}baz</p>",
+	[]],
+["<p>foo<span style=color:#aBcDeF>[bar</span>baz]",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}</p>",
+	[]],
+["<p>foo<span style=color:#aBcDeF>{bar</span>baz}",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}</p>",
+	[]],
+["<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}quz</p>",
+	[]],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}baz",
+	[]],
+["foo<b>{bar}</b>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}baz",
+	[]],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}baz",
+	[]],
+["foo<span>[bar]</span>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}baz",
+	[]],
+["foo<span>{bar}</span>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}baz",
+	[]],
+["foo{<span>bar</span>}baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}baz",
+	[]],
+["<b>foo[bar</b><i>baz]quz</i>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<b>foo[]</b><i>quz</i>",
+	[]],
+["<p>foo</p><p>[bar]</p><p>baz</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[]],
+["<p>foo</p><p>{bar}</p><p>baz</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[]],
+["<p>foo</p><p>{bar</p>}<p>baz</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[]],
+["<p>foo</p>{<p>bar}</p><p>baz</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p>{}<br><p>baz</p>",
+	[]],
+["<p>foo</p>{<p>bar</p>}<p>baz</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p>{}<p>baz</p>",
+	[]],
+["<p>foo[bar<p>baz]quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}quz</p>",
+	[]],
+["<p>foo[bar<div>baz]quz</div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}quz</p>",
+	[]],
+["<p>foo[bar<h1>baz]quz</h1>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}quz</p>",
+	[]],
+["<div>foo[bar</div><p>baz]quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div>foo{}quz</div>",
+	[]],
+["<blockquote>foo[bar</blockquote><pre>baz]quz</pre>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<blockquote>foo{}quz</blockquote>",
+	[]],
+["<p><b>foo[bar</b><p>baz]quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p><b>foo</b>{}quz</p>",
+	[]],
+["<div><p>foo[bar</div><p>baz]quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><p>foo{}quz</p></div>",
+	[]],
+["<p>foo[bar<blockquote><p>baz]quz<p>qoz</blockquote",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}quz</p><blockquote><p>qoz</p></blockquote>",
+	[]],
+["<p>foo[bar<p style=color:blue>baz]quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<font color=\"#0000ff\">quz</font></p>",
+	[]],
+["<p>foo[bar<p><b>baz]quz</b>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}<b>quz</b></p>",
+	[]],
+["<div><p>foo<p>[bar<p>baz]</div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><p>foo</p><p>{}<br></p></div>",
+	[]],
+["foo[<br>]bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo[]bar",
+	[]],
+["<p>foo[</p><p>]bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo[</p><p>]bar<br>baz</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar<br>baz</p>",
+	[]],
+["foo[<p>]bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo{<p>}bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo[<p>]bar<br>baz</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<p>baz</p>",
+	[]],
+["foo[<p>]bar</p>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<br>baz",
+	[]],
+["foo{<p>bar</p>}baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}baz",
+	[]],
+["foo<p>{bar</p>}baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<p>{}baz</p>",
+	[]],
+["foo{<p>bar}</p>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}<br>baz",
+	[]],
+["<p>foo[</p>]bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo{</p>}bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo[</p>]bar<br>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>baz",
+	[]],
+["<p>foo[</p>]bar<p>baz</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p><p>baz</p>",
+	[]],
+["foo[<div><p>]bar</div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<div><p>foo[</p></div>]bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[]],
+["foo[<div><p>]bar</p>baz</div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<div>baz</div>",
+	[]],
+["foo[<div>]bar<p>baz</p></div>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<div><p>baz</p></div>",
+	[]],
+["<div><p>foo</p>bar[</div>]baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div><p>foo</p>bar{}baz</div>",
+	[]],
+["<div>foo<p>bar[</p></div>]baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<div>foo<p>bar{}baz</p></div>",
+	[]],
+["<p>foo<br>{</p>]bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo<br><br>{</p>]bar",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo<br>{}bar</p>",
+	[]],
+["foo<br>{<p>]bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["foo<br><br>{<p>]bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo<br>{}bar",
+	[]],
+["<p>foo<br>{</p><p>}bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo{}bar</p>",
+	[]],
+["<p>foo<br><br>{</p><p>}bar</p>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo<br>{}bar</p>",
+	[]],
+["<table><tbody><tr><th>foo<th>[bar]<th>baz<tr><td>quz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><th>foo</th><th>{}<br></th><th>baz</th></tr><tr><td>quz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>foo<th>ba[r<th>b]az<tr><td>quz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><th>foo</th><th>ba[]</th><th>az</th></tr><tr><td>quz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>fo[o<th>bar<th>b]az<tr><td>quz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><th>fo[]</th><th><br></th><th>az</th></tr><tr><td>quz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>foo<th>bar<th>ba[z<tr><td>q]uz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><th>foo</th><th>bar</th><th>ba[]</th></tr><tr><td>uz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>[foo<th>bar<th>baz]<tr><td>quz<td>qoz<td>qiz</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><th>{}<br></th><th><br></th><th><br></th></tr><tr><td>quz</td><td>qoz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr><th>[foo<th>bar<th>baz<tr><td>quz<td>qoz<td>qiz]</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><th>{}<br></th><th><br></th><th><br></th></tr><tr><td><br></td><td><br></td><td><br></td></tr></tbody></table>",
+	[]],
+["{<table><tbody><tr><th>foo<th>bar<th>baz<tr><td>quz<td>qoz<td>qiz</table>}",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"{}<br>",
+	[]],
+["<table><tbody><tr><td>foo<td>ba[r<tr><td>baz<td>quz<tr><td>q]oz<td>qiz</table>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<table><tbody><tr><td>foo</td><td>ba[]</td></tr><tr><td><br></td><td><br></td></tr><tr><td>oz</td><td>qiz</td></tr></tbody></table>",
+	[]],
+["<p>fo[o<table><tr><td>b]ar</table><p>baz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>fo[]</p><table><tbody><tr><td>ar</td></tr></tbody></table><p>baz</p>",
+	[]],
+["<p>foo<table><tr><td>ba[r</table><p>b]az",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p><table><tbody><tr><td>ba[]</td></tr></tbody></table><p>az</p>",
+	[]],
+["<p>fo[o<table><tr><td>bar</table><p>b]az",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>fo{}az</p>",
+	[]],
+["<p>foo<ol><li>ba[r<li>b]az</ol><p>quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p><ol><li>ba{}az</li></ol><p>quz</p>",
+	[]],
+["<p>foo<ol><li>bar<li>[baz]</ol><p>quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p><ol><li>bar</li><li>{}<br></li></ol><p>quz</p>",
+	[]],
+["<p>fo[o<ol><li>b]ar<li>baz</ol><p>quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>fo{}ar</p><ol><li>baz</li></ol><p>quz</p>",
+	[]],
+["<p>foo<ol><li>bar<li>ba[z</ol><p>q]uz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>foo</p><ol><li>bar</li><li>ba{}uz</li></ol>",
+	[]],
+["<p>fo[o<ol><li>bar<li>b]az</ol><p>quz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>fo{}az</p><p>quz</p>",
+	[]],
+["<p>fo[o<ol><li>bar<li>baz</ol><p>q]uz",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<p>fo{}uz</p>",
+	[]],
+["<ol><li>fo[o</ol><ol><li>b]ar</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>fo{}ar</li></ol>",
+	[]],
+["<ol><li>fo[o</ol><ul><li>b]ar</ul>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>fo{}ar</li></ol>",
+	[]],
+["foo[<ol><li>]bar</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<ol><li>foo[<li>]bar</ol>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[]],
+["foo[<dl><dt>]bar<dd>baz</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar<dl><dd>baz</dd></dl>",
+	[]],
+["foo[<dl><dd>]bar</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"foo{}bar",
+	[]],
+["<dl><dt>foo[<dd>]bar</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<dl><dt>foo{}bar</dt></dl>",
+	[]],
+["<dl><dt>foo[<dt>]bar<dd>baz</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<dl><dt>foo{}bar</dt><dd>baz</dd></dl>",
+	[]],
+["<dl><dt>foo<dd>bar[<dd>]baz</dl>",
+	[["stylewithcss","false"],["forwarddelete",""]],
+	"<dl><dt>foo</dt><dd>bar{}baz</dd></dl>",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo[]bar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span>foo[</span><span>]bar</span>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo]bar[baz",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["{<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>}",
+	[]],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["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",
+	[]],
+["<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>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<table><tbody><tr><td>foo</td>{<td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<table><tbody><tr>{<td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td>}<td>baz</td></tr></tbody></table>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<table><tbody>{<tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr>}</tbody></table>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<table>{<tbody><tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr></tbody>}</table>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"{<table><tbody><tr><td><span style=\"background-color:rgb(0, 255, 255)\">foo</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">bar</span></td><td><span style=\"background-color:rgb(0, 255, 255)\">baz</span></td></tr></tbody></table>}",
+	[]],
+["<p style=\"background-color: rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["<p style=\"background-color: #00ffff\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["<p style=\"background-color: aqua\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[]],
+["{<p style=\"background-color: aqua\">foo</p><p>bar</p>}",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"{<p style=\"background-color:rgb(0, 255, 255)\">foo</p><p><span style=\"background-color:rgb(0, 255, 255)\">bar</span></p>}",
+	[]],
+["<span style=\"background-color: aqua\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: #00ffff\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: #0ff\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: rgb(0, 255, 255)\">foo<span style=\"background-color: tan\">[bar]</span>baz</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</span>",
+	[]],
+["<span style=\"background-color: aqua\">foo<span style=\"background-color: tan\">b[ar]</span>baz</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo<span style=\"background-color:rgb(210, 180, 140)\">b</span>[ar]baz</span>",
+	[]],
+["<p style=\"background-color: aqua\">foo<span style=\"background-color: tan\">b[ar]</span>baz</p>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo<span style=\"background-color:rgb(210, 180, 140)\">b</span>[ar]baz</p>",
+	[]],
+["<div style=\"background-color: aqua\"><p style=\"background-color: tan\">b[ar]</p></div>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<div style=\"background-color:rgb(0, 255, 255)\"><p style=\"background-color:rgb(210, 180, 140)\">b<span style=\"background-color:rgb(0, 255, 255)\">[ar]</span></p></div>",
+	[]],
+["<span style=\"display: block; background-color: aqua\"><span style=\"display: block; background-color: tan\">b[ar]</span></span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"display:block; background-color:rgb(0, 255, 255)\"><span style=\"display:block; background-color:rgb(210, 180, 140)\">b<span style=\"background-color:rgb(0, 255, 255)\">[ar]</span></span></span>",
+	[]],
+["fo[o<span style=background-color:tan>b]ar</span>baz",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span><span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>baz",
+	[]],
+["foo<span style=background-color:tan>ba[r</span>b]az",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(210, 180, 140)\">ba<span style=\"background-color:rgb(0, 255, 255)\">[r</span></span><span style=\"background-color:rgb(0, 255, 255)\">b]</span>az",
+	[]],
+["fo[o<span style=background-color:tan>bar</span>b]az",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"fo<span style=\"background-color:rgb(0, 255, 255)\">[obarb]</span>az",
+	[]],
+["foo[<span style=background-color:tan>b]ar</span>baz",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo[<span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>baz",
+	[]],
+["foo<span style=background-color:tan>ba[r</span>]baz",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(210, 180, 140)\">ba<span style=\"background-color:rgb(0, 255, 255)\">[r</span></span>]baz",
+	[]],
+["foo[<span style=background-color:tan>bar</span>]baz",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo[<span style=\"background-color:rgb(0, 255, 255)\">bar</span>]baz",
+	[]],
+["foo<span style=background-color:tan>[bar]</span>baz",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[]],
+["foo{<span style=background-color:tan>bar</span>}baz",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"foo{<span style=\"background-color:rgb(0, 255, 255)\">bar}</span>baz",
+	[]],
+["<span style=background-color:tan>fo[o</span><span style=background-color:yellow>b]ar</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span></span><span style=\"background-color:rgb(255, 255, 0)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>",
+	[]],
+["<span style=background-color:tan>fo[o</span><span style=background-color:tan>b]ar</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span></span><span style=\"background-color:rgb(210, 180, 140)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span>",
+	[]],
+["<span style=background-color:tan>fo[o<span style=background-color:transparent>b]ar</span></span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(210, 180, 140)\">fo<span style=\"background-color:rgb(0, 255, 255)\">[o</span><span style=\"background-color:rgba(0, 0, 0, 0)\"><span style=\"background-color:rgb(0, 255, 255)\">b]</span>ar</span></span>",
+	[]],
+["<font size=6>[foo]</font>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\"><font size=\"6\">[foo]</font></span>",
+	[]],
+["<span style=font-size:xx-large>[foo]</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\"><span style=\"font-size:xx-large\">[foo]</span></span>",
+	[]],
+["<font size=6>foo[bar]baz</font>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<font size=\"6\">foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz</font>",
+	[]],
+["<span style=font-size:xx-large>foo[bar]baz</span>",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"font-size:xx-large\">foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz</span>",
+	[]],
+["[foo<font size=6>bar</font>baz]",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">[foo<font size=\"6\">bar</font>baz]</span>",
+	[]],
+["[foo<span style=font-size:xx-large>bar</span>baz]",
+	[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">[foo<span style=\"font-size:xx-large\">bar</span>baz]</span>",
+	[]],
+["foo[]bar<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo[]bar</blockquote><p>extra</p>",
+	[]],
+["<span>foo</span>{}<span>bar</span><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><span>foo</span>{}<span>bar</span></blockquote><p>extra</p>",
+	[]],
+["<span>foo[</span><span>]bar</span><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><span>foo[</span><span>]bar</span></blockquote><p>extra</p>",
+	[]],
+["foo[bar]baz<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo[bar]baz</blockquote><p>extra</p>",
+	[]],
+["<p dir=rtl>פו[בר]בז<p dir=rtl>נוםף",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p dir=\"rtl\">פו[בר]בז</p></blockquote><p dir=\"rtl\">נוםף</p>",
+	[]],
+["<p dir=rtl>פו[ברבז<p>Foobar]baz<p>Extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p dir=\"rtl\">פו[ברבז</p><p>Foobar]baz</p></blockquote><p>Extra</p>",
+	[]],
+["<p>Foo[barbaz<p dir=rtl>פובר]בז<p>Extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>Foo[barbaz</p><p dir=\"rtl\">פובר]בז</p></blockquote><p>Extra</p>",
+	[]],
+["<div><p>Foo[barbaz<p dir=rtl>פובר]בז</div><p>Extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><div><p>Foo[barbaz</p><p dir=\"rtl\">פובר]בז</p></div></blockquote><p>Extra</p>",
+	[]],
+["foo]bar[baz<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo[bar]baz</blockquote><p>extra</p>",
+	[]],
+["{<p><p> <p>foo</p>}<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>{<p></p><p> </p><p>foo</p>}</blockquote><p>extra</p>",
+	[]],
+["foo[bar<i>baz]qoz</i>quz<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo[bar<i>baz]qoz</i>quz</blockquote><p>extra</p>",
+	[]],
+["[]foo<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>[]foo</blockquote><p>extra</p>",
+	[]],
+["foo[]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo[]</blockquote><p>extra</p>",
+	[]],
+["<p>[]foo<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[]foo</p></blockquote><p>extra</p>",
+	[]],
+["<p>foo[]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>foo[]</p></blockquote><p>extra</p>",
+	[]],
+["<p>{}<br>foo</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>{}<br></blockquote><p>foo</p><p>extra</p>",
+	[]],
+["<p>foo<br>{}</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>foo{}</p></blockquote><p>extra</p>",
+	[]],
+["<span>{}<br>foo</span>bar<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>{}<br></blockquote><span>foo</span>bar<p>extra</p>",
+	[]],
+["<span>foo<br>{}</span>bar<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<span>foo{}</span><blockquote>bar</blockquote><p>extra</p>",
+	[]],
+["<p>foo</p>{}<p>bar</p>",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p>{}<p>bar</p>",
+	[]],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<table><tbody><tr><td>foo</td><td><blockquote>b[a]r</blockquote></td><td>baz</td></tr></tbody></table><p>extra</p>",
+	[]],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<table><tbody><tr><td>foo</td>{<td><blockquote>bar</blockquote></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
+	[]],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<table><tbody><tr>{<td><blockquote>foo</blockquote></td><td><blockquote>bar</blockquote></td>}<td>baz</td></tr></tbody></table><p>extra</p>",
+	[]],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><table><tbody>{<tr><td>foo</td><td>bar</td><td>baz</td></tr>}</tbody></table></blockquote><p>extra</p>",
+	[]],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><table>{<tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody>}</table></blockquote><p>extra</p>",
+	[]],
+["{<table><tr><td>foo<td>bar<td>baz</table>}<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>{<table><tbody><tr><td>foo</td><td>bar</td><td>baz</td></tr></tbody></table>}</blockquote><p>extra</p>",
+	[]],
+["<p>foo[bar]</p><p>baz</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>foo[bar]</p></blockquote><p>baz</p><p>extra</p>",
+	[]],
+["<p>[foobar</p><p>ba]z</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foobar</p><p>ba]z</p></blockquote><p>extra</p>",
+	[]],
+["foo[bar]<br>baz<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo[bar]</blockquote>baz<p>extra</p>",
+	[]],
+["foo[bar]<br><br><br><br>baz<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo[bar]</blockquote><br><br><br>baz<p>extra</p>",
+	[]],
+["foobar<br>[ba]z<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"foobar<blockquote>[ba]z</blockquote><p>extra</p>",
+	[]],
+["foobar<br><br><br><br>[ba]z<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"foobar<br><br><br><br><blockquote>[ba]z</blockquote><p>extra</p>",
+	[]],
+["foo[bar<br>ba]z<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo[bar<br>ba]z</blockquote><p>extra</p>",
+	[]],
+["<div>foo<p>[bar]</p>baz</div><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<div>foo<blockquote><p>[bar]</p></blockquote>baz</div><p>extra</p>",
+	[]],
+["<blockquote><p>foo[bar]</p><p>baz</p></blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote><p>foo[bar]</p></blockquote><p>baz</p></blockquote><p>extra</p>",
+	[]],
+["<blockquote><p>foo[bar</p><p>b]az</p></blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote><p>foo[bar</p><p>b]az</p></blockquote></blockquote><p>extra</p>",
+	[]],
+["<blockquote><p>foo[bar]</p></blockquote><p>baz</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote><p>foo[bar]</p></blockquote></blockquote><p>baz</p><p>extra</p>",
+	[]],
+["<blockquote><p>foo[bar</p></blockquote><p>b]az</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote><p>foo[bar</p></blockquote><p>b]az</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo]<blockquote><p>bar</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo]</p><p>bar</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo<blockquote><p>b]ar</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo</p><blockquote><p>b]ar</p></blockquote></blockquote><p>extra</p>",
+	[]],
+["<p>foo<blockquote><p>bar</blockquote><p>[baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p><blockquote><p>bar</p><p>[baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p>foo<blockquote><p>[bar</blockquote><p>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p><blockquote><blockquote><p>[bar</p></blockquote><p>baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo<blockquote><p>bar</blockquote><p>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo</p><blockquote><p>bar</p></blockquote><p>baz]</p></blockquote><p>extra</p>",
+	[]],
+["<blockquote><p>foo</blockquote><p>[bar]<blockquote><p>baz</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>foo</p><p>[bar]</p><p>baz</p></blockquote><p>extra</p>",
+	[]],
+["<blockquote>foo[bar]<br>baz</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote>foo[bar]</blockquote>baz</blockquote><p>extra</p>",
+	[]],
+["<blockquote>foo[bar<br>b]az</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote>foo[bar<br>b]az</blockquote></blockquote><p>extra</p>",
+	[]],
+["<blockquote>foo[bar]</blockquote>baz<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote>foo[bar]</blockquote></blockquote>baz<p>extra</p>",
+	[]],
+["<blockquote>foo[bar</blockquote>b]az<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote>foo[bar</blockquote>b]az</blockquote><p>extra</p>",
+	[]],
+["[foo]<blockquote>bar</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>[foo]<br>bar</blockquote><p>extra</p>",
+	[]],
+["[foo<blockquote>b]ar</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>[foo<blockquote>b]ar</blockquote></blockquote><p>extra</p>",
+	[]],
+["foo<blockquote>bar</blockquote>[baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"foo<blockquote>bar<br>[baz]</blockquote><p>extra</p>",
+	[]],
+["[foo<blockquote>bar</blockquote>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>[foo<blockquote>bar</blockquote>baz]</blockquote><p>extra</p>",
+	[]],
+["<blockquote>foo</blockquote>[bar]<blockquote>baz</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo<br>[bar]<br>baz</blockquote><p>extra</p>",
+	[]],
+["<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>foo[bar]</p><p>baz</p></blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote style=\"margin-right:0\" dir=\"ltr\"><blockquote><p>foo[bar]</p></blockquote><p>baz</p></blockquote><p>extra</p>",
+	[]],
+["<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>foo[bar</p><p>b]az</p></blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote style=\"margin-right:0\" dir=\"ltr\"><p>foo[bar</p><p>b]az</p></blockquote></blockquote><p>extra</p>",
+	[]],
+["<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>foo[bar]</p></blockquote><p>baz</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote style=\"margin-right:0\" dir=\"ltr\"><p>foo[bar]</p></blockquote></blockquote><p>baz</p><p>extra</p>",
+	[]],
+["<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>foo[bar</p></blockquote><p>b]az</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote style=\"margin-right:0\" dir=\"ltr\"><p>foo[bar</p></blockquote><p>b]az</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo]<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>bar</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote style=\"margin-right:0\" dir=\"ltr\"><p>[foo]</p><p>bar</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>b]ar</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo</p><blockquote style=\"margin-right:0\" dir=\"ltr\"><p>b]ar</p></blockquote></blockquote><p>extra</p>",
+	[]],
+["<p>foo<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>bar</blockquote><p>[baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p><blockquote style=\"margin-right:0\" dir=\"ltr\"><p>bar</p><p>[baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p>foo<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>[bar</blockquote><p>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p><blockquote><blockquote style=\"margin-right:0\" dir=\"ltr\"><p>[bar</p></blockquote><p>baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>bar</blockquote><p>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo</p><blockquote style=\"margin-right:0\" dir=\"ltr\"><p>bar</p></blockquote><p>baz]</p></blockquote><p>extra</p>",
+	[]],
+["<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>foo</blockquote><p>[bar]<blockquote style=\"margin-right: 0\" dir=\"ltr\"><p>baz</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote style=\"margin-right:0\" dir=\"ltr\"><p>foo</p><p>[bar]</p><p>baz</p></blockquote><p>extra</p>",
+	[]],
+["<p style=\"margin-left: 40px\">foo[bar]</p><p style=\"margin-left: 40px\">baz</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p style=\"margin-left:40px\">foo[bar]</p></blockquote><p style=\"margin-left:40px\">baz</p><p>extra</p>",
+	[]],
+["<p style=\"margin-left: 40px\">foo[bar</p><p style=\"margin-left: 40px\">b]az</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p style=\"margin-left:40px\">foo[bar</p><p style=\"margin-left:40px\">b]az</p></blockquote><p>extra</p>",
+	[]],
+["<p style=\"margin-left: 40px\">foo[bar]</p><p>baz</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p style=\"margin-left:40px\">foo[bar]</p></blockquote><p>baz</p><p>extra</p>",
+	[]],
+["<p style=\"margin-left: 40px\">foo[bar</p><p>b]az</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p style=\"margin-left:40px\">foo[bar</p><p>b]az</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo]<p style=\"margin-left: 40px\">bar<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo]</p></blockquote><p style=\"margin-left:40px\">bar</p><p>extra</p>",
+	[]],
+["<p>[foo<p style=\"margin-left: 40px\">b]ar<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo</p><p style=\"margin-left:40px\">b]ar</p></blockquote><p>extra</p>",
+	[]],
+["<p>foo<p style=\"margin-left: 40px\">bar<p>[baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p><p style=\"margin-left:40px\">bar</p><blockquote><p>[baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p>foo<p style=\"margin-left: 40px\">[bar<p>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p><blockquote><p style=\"margin-left:40px\">[bar</p><p>baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo<p style=\"margin-left: 40px\">bar<p>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo</p><p style=\"margin-left:40px\">bar</p><p>baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p style=\"margin-left: 40px\">foo<p>[bar]<p style=\"margin-left: 40px\">baz<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p style=\"margin-left:40px\">foo</p><blockquote><p>[bar]</p></blockquote><p style=\"margin-left:40px\">baz</p><p>extra</p>",
+	[]],
+["<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>foo[bar]</p><p>baz</p></blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><blockquote><p>foo[bar]</p></blockquote><p>baz</p></blockquote><p>extra</p>",
+	[]],
+["<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>foo[bar</p><p>b]az</p></blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>foo[bar</p><p>b]az</p></blockquote></blockquote><p>extra</p>",
+	[]],
+["<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>foo[bar]</p></blockquote><p>baz</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>foo[bar]</p></blockquote></blockquote><p>baz</p><p>extra</p>",
+	[]],
+["<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>foo[bar</p></blockquote><p>b]az</p><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>foo[bar</p></blockquote><p>b]az</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo]<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>bar</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>[foo]</p><p>bar</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>b]ar</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo</p><blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>b]ar</p></blockquote></blockquote><p>extra</p>",
+	[]],
+["<p>foo<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>bar</blockquote><p>[baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p><blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>bar</p><p>[baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p>foo<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>[bar</blockquote><p>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<p>foo</p><blockquote><blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>[bar</p></blockquote><p>baz]</p></blockquote><p>extra</p>",
+	[]],
+["<p>[foo<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>bar</blockquote><p>baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>[foo</p><blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>bar</p></blockquote><p>baz]</p></blockquote><p>extra</p>",
+	[]],
+["<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>foo</blockquote><p>[bar]<blockquote class=\"webkit-indent-blockquote\" style=\"margin: 0 0 0 40px; border: none; padding: 0px\"><p>baz</blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote class=\"webkit-indent-blockquote\" style=\"margin:0 0 0 40px; border:none; padding:0px\"><p>foo</p><p>[bar]</p><p>baz</p></blockquote><p>extra</p>",
+	[]],
+["<blockquote>f[oo<blockquote>b]ar</blockquote></blockquote><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><blockquote>f[oo<blockquote>b]ar</blockquote></blockquote></blockquote><p>extra</p>",
+	[]],
+["<ol><li>foo<li>[bar]<li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>[bar]</li></ol><li>baz</li></ol>",
+	[]],
+["<ol data-start=1 data-end=2><li>foo<li>bar<li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol>{<li>bar</li>}</ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo</ol>[bar]",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li></ol><blockquote>[bar]</blockquote>",
+	[]],
+["<ol><li>[foo]<br>bar<li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li>[foo]<br>bar</li></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo<br>[bar]<li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li>foo<br>[bar]</li></ol><li>baz</li></ol>",
+	[]],
+["<ol><li><div>[foo]</div>bar<li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li><div>[foo]</div>bar</li></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo<ol><li>[bar]<li>baz</ol><li>quz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><ol><li>[bar]</li></ol><li>baz</li></ol><li>quz</li></ol>",
+	[]],
+["<ol><li>foo<ol><li>bar<li>[baz]</ol><li>quz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>bar</li><ol><li>[baz]</li></ol></ol><li>quz</li></ol>",
+	[]],
+["<ol><li>foo</li><ol><li>[bar]<li>baz</ol><li>quz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><ol><li>[bar]</li></ol><li>baz</li></ol><li>quz</li></ol>",
+	[]],
+["<ol><li>foo</li><ol data-start=0 data-end=1><li>bar<li>baz</ol><li>quz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><ol>{<li>bar</li>}</ol><li>baz</li></ol><li>quz</li></ol>",
+	[]],
+["<ol><li>foo</li><ol><li>bar<li>[baz]</ol><li>quz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>bar</li><ol><li>[baz]</li></ol></ol><li>quz</li></ol>",
+	[]],
+["<ol><li>foo</li><ol data-start=1 data-end=2><li>bar<li>baz</ol><li>quz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>bar</li><ol>{<li>baz</li>}</ol></ol><li>quz</li></ol>",
+	[]],
+["<ol><li>foo<ol><li>b[a]r</ol><li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><ol><li>b[a]r</li></ol></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo</li><ol><li>b[a]r</ol><li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><ol><li>b[a]r</li></ol></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo{<ol><li>bar</ol>}<li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol>{<ol><li>bar</li></ol>}</ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo</li>{<ol><li>bar</ol>}<li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol>{<ol><li>bar</li></ol>}</ol><li>baz</li></ol>",
+	[]],
+["<ol><li>[foo]<ol><li>bar</ol><li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li>[foo]</li><li>bar</li></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>[foo]</li><ol><li>bar</ol><li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li>[foo]</li><li>bar</li></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo<li>[bar]<ol><li>baz</ol><li>quz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>[bar]</li><li>baz</li></ol><li>quz</li></ol>",
+	[]],
+["<ol><li>foo<li>[bar]</li><ol><li>baz</ol><li>quz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>[bar]</li><li>baz</li></ol><li>quz</li></ol>",
+	[]],
+["<ol><li>foo<ol><li>bar<li>baz</ol><li>[quz]</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>bar</li><li>baz</li><li>[quz]</li></ol></ol>",
+	[]],
+["<ol><li>foo</li><ol><li>bar<li>baz</ol><li>[quz]</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>bar</li><li>baz</li><li>[quz]</li></ol></ol>",
+	[]],
+["<ol><ol id=u1><li id=i1>foo</ol><li id=i2>[bar]</li><ol id=u3><li id=i3>baz</ol></ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol id=\"u1\"><li id=\"i1\">foo</li><li id=\"i2\">[bar]</li><li id=\"i3\">baz</li></ol></ol>",
+	[]],
+["<ol><ol><li id=i1>foo</ol><li id=i2>[bar]</li><ol id=u3><li id=i3>baz</ol></ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li id=\"i1\">foo</li><li id=\"i2\">[bar]</li><li id=\"i3\">baz</li></ol></ol>",
+	[]],
+["<ol><ol id=u1><li id=i1>foo</ol><li id=i2>[bar]</li><ol><li id=i3>baz</ol></ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol id=\"u1\"><li id=\"i1\">foo</li><li id=\"i2\">[bar]</li><li id=\"i3\">baz</li></ol></ol>",
+	[]],
+["<ol><li id=i2>[bar]</li><ol id=u3><li id=i3>baz</ol></ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol id=\"u3\"><li id=\"i2\">[bar]</li><li id=\"i3\">baz</li></ol></ol>",
+	[]],
+["<ol><ol id=u1><li id=i1>foo</ol><li id=i2>[bar]</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol id=\"u1\"><li id=\"i1\">foo</li><li id=\"i2\">[bar]</li></ol></ol>",
+	[]],
+["<ol><li>foo<li>b[ar<li>baz]</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>b[ar</li><li>baz]</li></ol></ol>",
+	[]],
+["<ol><li>[foo<ol><li>bar]</ol><li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li>[foo</li><ol><li>bar]</li></ol></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>[foo</li><ol><li>bar]</ol><li>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li>[foo</li><ol><li>bar]</li></ol></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo<ol><li>b[ar</ol><li>b]az</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><ol><li>b[ar</li></ol><li>b]az</li></ol></ol>",
+	[]],
+["<ol><li>foo</li><ol><li>b[ar</ol><li>b]az</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><ol><li>b[ar</li></ol><li>b]az</li></ol></ol>",
+	[]],
+["<ol><li>[foo<ol><li>bar</ol><li>baz]</ol><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><ol><li>[foo</li><ol><li>bar</li></ol><li>baz]</li></ol></blockquote><p>extra</p>",
+	[]],
+["<ol><li>[foo</li><ol><li>bar</ol><li>baz]</ol><p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><ol><li>[foo</li><ol><li>bar</li></ol><li>baz]</li></ol></blockquote><p>extra</p>",
+	[]],
+["<ol><li>[foo]<ol><li>bar</ol>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li>[foo]</li><li>bar</li></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo<ol><li>[bar]</ol>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><ol><li>[bar]</li></ol></ol><li>baz</li></ol>",
+	[]],
+["<ol><li>foo<ol><li>bar</ol>[baz]</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><li>foo</li><ol><li>bar</li><li>[baz]</li></ol></ol>",
+	[]],
+["<ol><li>[foo<ol><li>bar]</ol>baz</ol>",
+	[["stylewithcss","false"],["indent",""]],
+	"<ol><ol><li>[foo</li><ol><li>bar]</li></ol></ol><li>baz</li></ol>",
+	[]],
+["foo<!--bar-->[baz]<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>foo<!--bar-->[baz]</blockquote><p>extra</p>",
+	[]],
+["[foo]<!--bar-->baz<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote>[foo]<!--bar-->baz</blockquote><p>extra</p>",
+	[]],
+["<p>foo<!--bar-->{}<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>foo<!--bar-->{}</p></blockquote><p>extra</p>",
+	[]],
+["<p>{}<!--foo-->bar<p>extra",
+	[["stylewithcss","false"],["indent",""]],
+	"<blockquote><p>{}<!--foo-->bar</p></blockquote><p>extra</p>",
+	[]],
+["<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>",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"foo<hr>{}bar",
+	[]],
+["<span>foo</span>{}<span>bar</span>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<span>foo</span><hr>{}<span>bar</span>",
+	[]],
+["<span>foo[</span><span>]bar</span>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<span>foo</span><hr>{}<span>bar</span>",
+	[]],
+["<p>foo[bar<p>baz]quz",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<p>foo</p><hr>{}<p>quz</p>",
+	[]],
+["<div><b>foo</b>{}<b>bar</b></div>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<div><b>foo</b><hr>{}<b>bar</b></div>",
+	[]],
+["<div><b>foo[</b><b>]bar</b></div>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<div><b>foo</b><hr>{}<b>bar</b></div>",
+	[]],
+["<div><b>foo</b>{<b>bar</b>}<b>baz</b></div>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<div><b>foo</b><hr>{}<b>baz</b></div>",
+	[]],
+["<b>foo[]bar</b>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<b>foo</b><hr>{}<b>bar</b>",
+	[]],
+["<b id=abc>foo[]bar</b>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<b id=\"abc\">foo</b><hr>{}<b>bar</b>",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["inserthorizontalrule","abc"]],
+	"foo<hr>{}baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"foo<hr>{}baz",
+	[]],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"foo<hr>{}baz",
+	[]],
+["foo<b>{bar}</b>baz",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"foo<hr>{}baz",
+	[]],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"foo<hr>{}baz",
+	[]],
+["<p>foo<p>[bar]<p>baz",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<p>foo</p><hr>{}<p>baz</p>",
+	[]],
+["<p>foo<p>{bar}<p>baz",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<p>foo</p><hr>{}<p>baz</p>",
+	[]],
+["<p>foo{<p>bar</p>}<p>baz",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<p>foo</p><hr>{}<p>baz</p>",
+	[]],
+["<p>foo[bar]baz</p>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<p>foo</p><hr>{}<p>baz</p>",
+	[]],
+["<p id=abc>foo[bar]baz</p>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<p id=\"abc\">foo</p><hr>{}<p>baz</p>",
+	[]],
+["<h1>foo[bar]baz</h1>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<h1>foo</h1><hr>{}<h1>baz</h1>",
+	[]],
+["<p>foo<b>b[a]r</b>baz</p>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<p>foo<b>b</b></p><hr>{}<p><b>r</b>baz</p>",
+	[]],
+["<a>foo[bar]baz</a>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<a>foo</a><hr>{}<a>baz</a>",
+	[]],
+["<a href=/>foo[bar]baz</a>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<a href=\"/\">foo</a><hr>{}<a href=\"/\">baz</a>",
+	[]],
+["<abbr>foo[bar]baz</abbr>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<abbr>foo</abbr><hr>{}<abbr>baz</abbr>",
+	[]],
+["<address>foo[bar]baz</address>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<address>foo<hr>{}baz</address>",
+	[]],
+["<article>foo[bar]baz</article>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<article>foo<hr>{}baz</article>",
+	[]],
+["<aside>foo[bar]baz</aside>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<aside>foo<hr>{}baz</aside>",
+	[]],
+["<b>foo[bar]baz</b>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<b>foo</b><hr>{}<b>baz</b>",
+	[]],
+["<bdi>foo[bar]baz</bdi>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<bdi>foo</bdi><hr>{}<bdi>baz</bdi>",
+	[]],
+["<bdo dir=rtl>foo[bar]baz</bdo>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<bdo dir=\"rtl\">foo</bdo><hr>{}<bdo dir=\"rtl\">baz</bdo>",
+	[]],
+["<blockquote>foo[bar]baz</blockquote>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<blockquote>foo<hr>{}baz</blockquote>",
+	[]],
+["<table><caption>foo[bar]baz</caption><tr><td>quz</table>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<table><caption>foo<hr>{}baz</caption><tbody><tr><td>quz</td></tr></tbody></table>",
+	[]],
+["<cite>foo[bar]baz</cite>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<cite>foo</cite><hr>{}<cite>baz</cite>",
+	[]],
+["<code>foo[bar]baz</code>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<code>foo</code><hr>{}<code>baz</code>",
+	[]],
+["<dl><dd>foo[bar]baz</dd></dl>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<dl><dd>foo<hr>{}baz</dd></dl>",
+	[]],
+["<del>foo[bar]baz</del>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<del>foo<hr>{}baz</del>",
+	[]],
+["<details>foo[bar]baz</details>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<details>foo<hr>{}baz</details>",
+	[]],
+["<dfn>foo[bar]baz</dfn>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<dfn>foo</dfn><hr>{}<dfn>baz</dfn>",
+	[]],
+["<div>foo[bar]baz</div>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<div>foo<hr>{}baz</div>",
+	[]],
+["<dl><dt>foo[bar]baz</dt></dl>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<dl><dt>foo<hr>{}baz</dt></dl>",
+	[]],
+["<em>foo[bar]baz</em>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<em>foo</em><hr>{}<em>baz</em>",
+	[]],
+["<figure><figcaption>foo[bar]baz</figcaption>quz</figure>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<figure><figcaption>foo<hr>{}baz</figcaption>quz</figure>",
+	[]],
+["<figure>foo[bar]baz</figure>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<figure>foo<hr>{}baz</figure>",
+	[]],
+["<footer>foo[bar]baz</footer>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<footer>foo<hr>{}baz</footer>",
+	[]],
+["<h1>foo[bar]baz</h1>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<h1>foo</h1><hr>{}<h1>baz</h1>",
+	[]],
+["<h2>foo[bar]baz</h2>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<h2>foo</h2><hr>{}<h2>baz</h2>",
+	[]],
+["<h3>foo[bar]baz</h3>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<h3>foo</h3><hr>{}<h3>baz</h3>",
+	[]],
+["<h4>foo[bar]baz</h4>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<h4>foo</h4><hr>{}<h4>baz</h4>",
+	[]],
+["<h5>foo[bar]baz</h5>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<h5>foo</h5><hr>{}<h5>baz</h5>",
+	[]],
+["<h6>foo[bar]baz</h6>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<h6>foo</h6><hr>{}<h6>baz</h6>",
+	[]],
+["<header>foo[bar]baz</header>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<header>foo<hr>{}baz</header>",
+	[]],
+["<hgroup>foo[bar]baz</hgroup>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<hgroup>foo</hgroup><hr>{}<hgroup>baz</hgroup>",
+	[]],
+["<hgroup><h1>foo[bar]baz</h1></hgroup>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<hgroup><h1>foo</h1></hgroup><hr>{}<hgroup><h1>baz</h1></hgroup>",
+	[]],
+["<i>foo[bar]baz</i>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<i>foo</i><hr>{}<i>baz</i>",
+	[]],
+["<ins>foo[bar]baz</ins>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<ins>foo<hr>{}baz</ins>",
+	[]],
+["<kbd>foo[bar]baz</kbd>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<kbd>foo</kbd><hr>{}<kbd>baz</kbd>",
+	[]],
+["<mark>foo[bar]baz</mark>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<mark>foo</mark><hr>{}<mark>baz</mark>",
+	[]],
+["<nav>foo[bar]baz</nav>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<nav>foo<hr>{}baz</nav>",
+	[]],
+["<ol><li>foo[bar]baz</li></ol>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<ol><li>foo<hr>{}baz</li></ol>",
+	[]],
+["<p>foo[bar]baz</p>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<p>foo</p><hr>{}<p>baz</p>",
+	[]],
+["<pre>foo[bar]baz</pre>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<pre>foo</pre><hr>{}<pre>baz</pre>",
+	[]],
+["<q>foo[bar]baz</q>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<q>foo</q><hr>{}<q>baz</q>",
+	[]],
+["<ruby>foo[bar]baz<rt>quz</rt></ruby>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<ruby>foo</ruby><hr>{}<ruby>baz<rt>quz</rt></ruby>",
+	[]],
+["<ruby>foo<rt>bar[baz]quz</rt></ruby>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<ruby>foo<rt>bar</rt></ruby><hr>{}<ruby><rt>quz</rt></ruby>",
+	[]],
+["<ruby>foo<rp>bar[baz]quz</rp><rt>qoz</rt><rp>qiz</rp></ruby>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<ruby>foo<rp>bar</rp></ruby><hr>{}<ruby><rp>quz</rp><rt>qoz</rt><rp>qiz</rp></ruby>",
+	[]],
+["<s>foo[bar]baz</s>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<s>foo</s><hr>{}<s>baz</s>",
+	[]],
+["<samp>foo[bar]baz</samp>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<samp>foo</samp><hr>{}<samp>baz</samp>",
+	[]],
+["<section>foo[bar]baz</section>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<section>foo<hr>{}baz</section>",
+	[]],
+["<small>foo[bar]baz</small>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<small>foo</small><hr>{}<small>baz</small>",
+	[]],
+["<span>foo[bar]baz</span>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<span>foo</span><hr>{}<span>baz</span>",
+	[]],
+["<strong>foo[bar]baz</strong>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<strong>foo</strong><hr>{}<strong>baz</strong>",
+	[]],
+["<sub>foo[bar]baz</sub>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<sub>foo</sub><hr>{}<sub>baz</sub>",
+	[]],
+["<sup>foo[bar]baz</sup>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<sup>foo</sup><hr>{}<sup>baz</sup>",
+	[]],
+["<table><tr><td>foo[bar]baz</td></table>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<table><tbody><tr><td>foo<hr>{}baz</td></tr></tbody></table>",
+	[]],
+["<table><tr><th>foo[bar]baz</th></table>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<table><tbody><tr><th>foo<hr>{}baz</th></tr></tbody></table>",
+	[]],
+["<u>foo[bar]baz</u>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<u>foo</u><hr>{}<u>baz</u>",
+	[]],
+["<ul><li>foo[bar]baz</li></ul>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<ul><li>foo<hr>{}baz</li></ul>",
+	[]],
+["<var>foo[bar]baz</var>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<var>foo</var><hr>{}<var>baz</var>",
+	[]],
+["<acronym>foo[bar]baz</acronym>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<acronym>foo</acronym><hr>{}<acronym>baz</acronym>",
+	[]],
+["<big>foo[bar]baz</big>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<big>foo</big><hr>{}<big>baz</big>",
+	[]],
+["<blink>foo[bar]baz</blink>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<blink>foo</blink><hr>{}<blink>baz</blink>",
+	[]],
+["<center>foo[bar]baz</center>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<center>foo<hr>{}baz</center>",
+	[]],
+["<dir>foo[bar]baz</dir>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<dir>foo</dir><hr>{}<dir>baz</dir>",
+	[]],
+["<dir><li>foo[bar]baz</li></dir>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<dir><li>foo<hr>{}baz</li></dir>",
+	[]],
+["<font>foo[bar]baz</font>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<font>foo</font><hr>{}<font>baz</font>",
+	[]],
+["<listing>foo[bar]baz</listing>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<listing>foo</listing><hr>{}<listing>baz</listing>",
+	[]],
+["<marquee>foo[bar]baz</marquee>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<marquee>foo</marquee><hr>{}<marquee>baz</marquee>",
+	[]],
+["<nobr>foo[bar]baz</nobr>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<nobr>foo</nobr><hr>{}<nobr>baz</nobr>",
+	[]],
+["<strike>foo[bar]baz</strike>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<strike>foo</strike><hr>{}<strike>baz</strike>",
+	[]],
+["<tt>foo[bar]baz</tt>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<tt>foo</tt><hr>{}<tt>baz</tt>",
+	[]],
+["<xmp>foo[bar]baz</xmp>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<xmp>foo</xmp><hr>{}<xmp>baz</xmp>",
+	[]],
+["<quasit>foo[bar]baz</quasit>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<quasit>foo<hr>{}baz</quasit>",
+	[]],
+["<table><tr><td>fo[o<td>b]ar</table>",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"<table><tbody><tr><td>fo<hr>{}</td><td>ar</td></tr></tbody></table>",
+	[]],
+["fo[o<span contenteditable=false>bar</span>b]az",
+	[["stylewithcss","false"],["inserthorizontalrule",""]],
+	"fo<hr>{}<span contenteditable=\"false\">bar</span>az",
+	[]],
+["foo[]bar",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"fooab<b>c</b>d{}bar",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"fooab<b>c</b>d{}baz",
+	[]],
+["foo<span style=color:#aBcDeF>[bar]</span>baz",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"fooab<b>c</b>d{}baz",
+	[]],
+["foo<span style=color:#aBcDeF>{bar}</span>baz",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"fooab<b>c</b>d{}baz",
+	[]],
+["foo{<span style=color:#aBcDeF>bar</span>}baz",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"fooab<b>c</b>d{}baz",
+	[]],
+["[foo<span style=color:#aBcDeF>bar]</span>baz",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"ab<b>c</b>d{}baz",
+	[]],
+["{foo<span style=color:#aBcDeF>bar}</span>baz",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"ab<b>c</b>d{}baz",
+	[]],
+["foo<span style=color:#aBcDeF>[bar</span>baz]",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"fooab<b>c</b>d{}",
+	[]],
+["foo<span style=color:#aBcDeF>{bar</span>baz}",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"fooab<b>c</b>d{}",
+	[]],
+["foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz",
+	[["stylewithcss","false"],["inserthtml","ab<b>c</b>d"]],
+	"fooab<b>c</b>d{}quz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["inserthtml",""]],
+	"foo[]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["inserthtml","\u0000"]],
+	"foo[]baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["inserthtml","\u0007"]],
+	"foo\u0007{}baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["inserthtml","<b>"]],
+	"foo<b></b>{}baz",
+	[]],
+["foo[bar]baz",
+	[["stylewithcss","false"],["inserthtml","<b>abc"]],
+	"foo<b>abc</b>{}baz",
+	[]],
+["<p>foo[bar]baz",
+	[["stylewithcss","false"],["inserthtml","<p>abc"]],
+	"<p>foo</p><p>abc</p>{}<p>baz</p>",
+	[]],
+["<p>foo[bar]baz",
+	[["stylewithcss","false"],["inserthtml","<li>abc"]],
+	"<p>foo</p><p>abc</p>{}<p>baz</p>",
+	[]],
+["<ol>{<li>foo</li>}<li>bar</ol>",
+	[["stylewithcss","false"],["inserthtml","<p>abc"]],
+	"<p>abc</p>{}<ol><li>bar</li></ol>",
+	[]],
+["<ol><li>foo</li>{<li>bar</li>}<li>baz</ol>",
+	[["stylewithcss","false"],["inserthtml","<p>abc"]],
+	"<ol><li>foo</li></ol><p>abc</p>{}<ol><li>baz</li></ol>",
+	[]],
+["<ol><li>[foo]</li><li>bar</ol>",
+	[["stylewithcss","false"],["inserthtml","<p>abc"]],
+	"<ol><li><p>abc</p>{}</li><li>bar</li></ol>",
+	[]],
+["<xmp>f[o]o</xmp>",
+	[["stylewithcss","false"],["inserthtml","abc"]],
+	"<xmp>fabc{}o</xmp>",
+	[]],
+["<script>f[o]o</script>bar",
+	[["stylewithcss","false"],["inserthtml","abc"]],
+	"<script>fabc{}o</script>bar",
+	[]],
+["<script>f[o]o</script>bar",
+	[["stylewithcss","false"],["inserthtml","<b>abc</b>"]],
+	"<script>f<b>abc</b>{}o</script>bar",
+	[]],
+["<a>f[o]o</a>",
+	[["stylewithcss","false"],["inserthtml","<a>abc</a>"]],
+	"<a>f</a><a>abc</a>{}<a>o</a>",
+	[]],
+["<a href=.>f[o]o</a>",
+	[["stylewithcss","false"],["inserthtml","<a href=/>abc</a>"]],
+	"<a href=\".\">f</a><a href=\"/\">abc</a>{}<a href=\".\">o</a>",
+	[]],
+["<p>f[o]o",
+	[["stylewithcss","false"],["inserthtml","<hr>"]],
+	"<p>f</p><hr>{}<p>o</p>",
+	[]],
+["<b>f[o]o</b>",
+	[["stylewithcss","false"],["inserthtml","<hr>"]],
+	"<b>f</b><hr>{}<b>o</b>",
+	[]],
+["<h1>f[o]o</h1>",
+	[["stylewithcss","false"],["inserthtml","<h2>abc</h2>"]],
+	"<h1>f</h1><h2>abc</h2>{}<h1>o</h1>",
+	[]],
+["<table><tr><td>f[o]o</table>",
+	[["stylewithcss","false"],["inserthtml","<td>abc</td>"]],
+	"<table><tbody><tr><td>fabc{}o</td></tr></tbody></table>",
+	[]],
+["f[o]o",
+	[["stylewithcss","false"],["inserthtml","<td>abc</td>"]],
+	"fabc{}o",
+	[]],
+["<dl><dt>f[o]o<dd>bar</dl>",
+	[["stylewithcss","false"],["inserthtml","<dt>abc</dt>"]],
+	"<dl><dt>f</dt><dt>abc</dt>{}<dt>o</dt><dd>bar</dd></dl>",
+	[]],
+["<dl><dt>foo<dd>b[a]r</dl>",
+	[["stylewithcss","false"],["inserthtml","<dt>abc</dt>"]],
+	"<dl><dt>foo</dt><dd>b</dd><dt>abc</dt>{}<dd>r</dd></dl>",
+	[]],
+["<dl><dt>f[o]o<dd>bar</dl>",
+	[["stylewithcss","false"],["inserthtml","<dd>abc</dd>"]],
+	"<dl><dt>f</dt><dd>abc</dd>{}<dt>o</dt><dd>bar</dd></dl>",
+	[]],
+["<dl><dt>foo<dd>b[a]r</dl>",
+	[["stylewithcss","false"],["inserthtml","<dd>abc</dd>"]],
+	"<dl><dt>foo</dt><dd>b</dd><dd>abc</dd>{}<dd>r</dd></dl>",
+	[]],
+["f[o]o",
+	[["stylewithcss","false"],["inserthtml","<dt>abc</dt>"]],
+	"f<dl><dt>abc</dt>{}</dl>o",
+	[]],
+["<ol><li>f[o]o</ol>",
+	[["stylewithcss","false"],["inserthtml","<dt>abc</dt>"]],
+	"<ol><li>f<dl><dt>abc</dt>{}</dl>o</li></ol>",
+	[]],
+["f[o]o",
+	[["stylewithcss","false"],["inserthtml","<dd>abc</dd>"]],
+	"f<dl><dd>abc</dd>{}</dl>o",
+	[]],
+["<ol><li>f[o]o</ol>",
+	[["stylewithcss","false"],["inserthtml","<dd>abc</dd>"]],
+	"<ol><li>f<dl><dd>abc</dd>{}</dl>o</li></ol>",
+	[]],
+["<dir><li>f[o]o</dir>",
+	[["stylewithcss","false"],["inserthtml","<li>abc</li>"]],
+	"<dir><li>f</li><li>abc</li>{}<li>o</li></dir>",
+	[]],
+["<ol><li>f[o]o</ol>",
+	[["stylewithcss","false"],["inserthtml","<li>abc</li>"]],
+	"<ol><li>f</li><li>abc</li>{}<li>o</li></ol>",
+	[]],
+["<ul><li>f[o]o</ul>",
+	[["stylewithcss","false"],["inserthtml","<li>abc</li>"]],
+	"<ul><li>f</li><li>abc</li>{}<li>o</li></ul>",
+	[]],
+["<dir><li>f[o]o</dir>",
+	[["stylewithcss","false"],["inserthtml","<dir><li>abc</dir>"]],
+	"<dir><li>f<dir><li>abc</li></dir>{}o</li></dir>",
+	[]],
+["<ol><li>f[o]o</ol>",
+	[["stylewithcss","false"],["inserthtml","<dir><li>abc</dir>"]],
+	"<ol><li>f<dir><li>abc</li></dir>{}o</li></ol>",
+	[]],
+["<ul><li>f[o]o</ul>",
+	[["stylewithcss","false"],["inserthtml","<dir><li>abc</dir>"]],
+	"<ul><li>f<dir><li>abc</li></dir>{}o</li></ul>",
+	[]],
+["<dir><li>f[o]o</dir>",
+	[["stylewithcss","false"],["inserthtml","<ol><li>abc</ol>"]],
+	"<dir><li>f<ol><li>abc</li></ol>{}o</li></dir>",
+	[]],
+["<ol><li>f[o]o</ol>",
+	[["stylewithcss","false"],["inserthtml","<ol><li>abc</ol>"]],
+	"<ol><li>f<ol><li>abc</li></ol>{}o</li></ol>",
+	[]],
+["<ul><li>f[o]o</ul>",
+	[["stylewithcss","false"],["inserthtml","<ol><li>abc</ol>"]],
+	"<ul><li>f<ol><li>abc</li></ol>{}o</li></ul>",
+	[]],
+["<dir><li>f[o]o</dir>",
+	[["stylewithcss","false"],["inserthtml","<ul><li>abc</ul>"]],
+	"<dir><li>f<ul><li>abc</li></ul>{}o</li></dir>",
+	[]],
+["<ol><li>f[o]o</ol>",
+	[["stylewithcss","false"],["inserthtml","<ul><li>abc</ul>"]],
+	"<ol><li>f<ul><li>abc</li></ul>{}o</li></ol>",
+	[]],
+["<ul><li>f[o]o</ul>",
+	[["stylewithcss","false"],["inserthtml","<ul><li>abc</ul>"]],
+	"<ul><li>f<ul><li>abc</li></ul>{}o</li></ul>",
+	[]],
+["f[o]o",
+	[["stylewithcss","false"],["inserthtml","<li>abc</li>"]],
+	"f<p>abc</p>{}o",
+	[]],
+["<nobr>f[o]o</nobr>",
+	[["stylewithcss","false"],["inserthtml","<nobr>abc</nobr>"]],
+	"<nobr>f</nobr><nobr>abc</nobr>{}<nobr>o</nobr>",
+	[]],
+["f[o]o",
+	[["stylewithcss","false"],["inserthtml","<nobr>abc</nobr>"]],
+	"f<nobr>abc</nobr>{}o",
+	[]],
+["<font color=blue>foo[]bar</font>",
+	[["stylewithcss","false"],["inserthtml","<p>abc"]],
+	"<font color=\"blue\">foo</font><p><font color=\"#0000ff\">abc</font></p>{}<font color=\"blue\">bar</font>",
+	[]],
+["<span style=color:blue>foo[]bar</span>",
+	[["stylewithcss","false"],["inserthtml","<p>abc"]],
+	"<span style=\"color:rgb(0, 0, 255)\">foo</span><p><font color=\"#0000ff\">abc</font></p>{}<span style=\"color:rgb(0, 0, 255)\">bar</span>",
+	[]],
+["<span style=font-variant:small-caps>foo[]bar</span>",
+	[["stylewithcss","false"],["inserthtml","<p>abc"]],
+	"<span style=\"font-variant:small-caps\">foo</span><p>abc</p>{}<span style=\"font-variant:small-caps\">bar</span>",
+	[]],
+["<p>[foo]</p>",
+	[["stylewithcss","false"],["inserthtml"," "]],
+	"<p> {}<br></p>",
+	[]],
+["<p>[foo]</p>",
+	[["stylewithcss","false"],["inserthtml","<span style=display:none></span>"]],
+	"<p><span style=\"display:none\"></span>{}<br></p>",
+	[]],
+["<p>[foo]</p>",
+	[["stylewithcss","false"],["inserthtml","<!--abc-->"]],
+	"<p><!--abc-->{}<br></p>",
+	[]],
+["<p>{}<br></p>",
+	[["stylewithcss","false"],["inserthtml","abc"]],
+	"<p>abc{}</p>",
+	[]],
+["<p>{}<br></p>",
+	[["stylewithcss","false"],["inserthtml","<!--abc-->"]],
+	"<p><!--abc-->{}<br></p>",
+	[]],
+["<p><!--foo-->{}<span><br></span><!--bar--></p>",
+	[["stylewithcss","false"],["inserthtml","abc"]],
+	"<p><!--foo-->abc{}<!--bar--></p>",
+	[]],
+["<p><!--foo-->{}<span><br></span><!--bar--></p>",
+	[["stylewithcss","false"],["inserthtml","<!--abc-->"]],
+	"<p><!--foo--><!--abc-->{}<!--bar--><br></p>",
+	[]],
+["<p>{}<span><!--foo--><br><!--bar--></span></p>",
+	[["stylewithcss","false"],["inserthtml","abc"]],
+	"<p>abc{}</p>",
+	[]],
+["<p>{}<span><!--foo--><br><!--bar--></span></p>",
+	[["stylewithcss","false"],["inserthtml","<!--abc-->&qu