Merge m-c to m-i.
authorMs2ger <ms2ger@gmail.com>
Fri, 18 May 2012 13:32:20 +0200
changeset 94715 16054aea10ebd285e7eaa95410affb42e88556d5
parent 94714 95437bcc43dc49fb4565a7e37c9374801f389f55 (current diff)
parent 94675 0f4a08fb2e8e1d53a3234d7bb096a2c1193f4c95 (diff)
child 94716 1d43642295b1d2a70433b6a044a52495c7e4da1f
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
milestone15.0a1
Merge m-c to m-i.
dom/imptests/failures.txt
dom/imptests/failures/webapps/WebStorage/tests/submissions/Ms2ger/Makefile.in
dom/imptests/failures/webapps/WebStorage/tests/submissions/Ms2ger/test_storage_local_getitem_js.html.json
dom/imptests/failures/webapps/WebStorage/tests/submissions/Ms2ger/test_storage_local_index_js.html.json
dom/imptests/failures/webapps/WebStorage/tests/submissions/Ms2ger/test_storage_session_getitem_js.html.json
dom/imptests/failures/webapps/WebStorage/tests/submissions/Ms2ger/test_storage_session_index_js.html.json
dom/imptests/html.json
dom/imptests/testharnessreport.js.in
dom/imptests/webapps.json
dom/imptests/writeReporter.py
editor/libeditor/base/nsEditor.cpp
editor/libeditor/base/nsEditor.h
editor/libeditor/base/nsEditorCommands.cpp
editor/libeditor/html/nsHTMLDataTransfer.cpp
editor/libeditor/html/nsHTMLEditRules.cpp
editor/libeditor/html/nsHTMLEditRules.h
editor/libeditor/html/nsHTMLEditor.cpp
editor/libeditor/html/nsHTMLEditor.h
editor/libeditor/html/nsHTMLEditorStyle.cpp
editor/libeditor/text/nsPlaintextDataTransfer.cpp
editor/libeditor/text/nsPlaintextEditor.cpp
--- a/accessible/src/html/nsHyperTextAccessible.cpp
+++ b/accessible/src/html/nsHyperTextAccessible.cpp
@@ -1493,17 +1493,17 @@ nsHyperTextAccessible::DeleteText(PRInt3
     return NS_ERROR_FAILURE;
 
   nsCOMPtr<nsIEditor> editor = GetEditor();
   NS_ENSURE_STATE(editor);
 
   nsresult rv = SetSelectionRange(aStartPos, aEndPos);
   NS_ENSURE_SUCCESS(rv, rv);
 
-  return editor->DeleteSelection(nsIEditor::eNone);
+  return editor->DeleteSelection(nsIEditor::eNone, nsIEditor::eStrip);
 }
 
 NS_IMETHODIMP
 nsHyperTextAccessible::PasteText(PRInt32 aPosition)
 {
   if (IsDefunct())
     return NS_ERROR_FAILURE;
 
--- a/browser/devtools/sourceeditor/orion/orion.js
+++ b/browser/devtools/sourceeditor/orion/orion.js
@@ -11270,17 +11270,17 @@ define("examples/textview/textStyler", [
 		 "overflow-y", "padding", "padding-bottom", "padding-left", "padding-right", "padding-top", "page", "page-break-after", "page-break-before",
 		 "page-break-inside", "page-policy", "pause", "pause-after", "pause-before", "perspective", "perspective-origin", "phonemes", "pitch",
 		 "pitch-range", "play-during", "position", "presentation-level", "punctuation-trim", "quotes", "rendering-intent", "resize",
 		 "rest", "rest-after", "rest-before", "richness", "right", "rotation", "rotation-point", "ruby-align", "ruby-overhang", "ruby-position",
 		 "ruby-span", "size", "speak", "speak-header", "speak-numeral", "speak-punctuation", "speech-rate", "stress", "string-set", "table-layout",
 		 "target", "target-name", "target-new", "target-position", "text-align", "text-align-last", "text-decoration", "text-emphasis",
 		 "text-height", "text-indent", "text-justify", "text-outline", "text-shadow", "text-transform", "text-wrap", "top", "transform",
 		 "transform-origin", "transform-style", "transition", "transition-delay", "transition-duration", "transition-property",
-		 "transition-timing-function", "unicode-bidi", "vertical-align", "visibility", "voice-balance", "voice-duration", "voice-family",
+		 "transition-timing-function", "unicode-bidi", "vector-effect", "vertical-align", "visibility", "voice-balance", "voice-duration", "voice-family",
 		 "voice-pitch", "voice-pitch-range", "voice-rate", "voice-stress", "voice-volume", "volume", "white-space", "white-space-collapse",
 		 "widows", "width", "word-break", "word-spacing", "word-wrap", "z-index"
 		];
 
 	// Scanner constants
 	var UNKOWN = 1;
 	var KEYWORD = 2;
 	var STRING = 3;
--- a/content/base/src/nsGkAtomList.h
+++ b/content/base/src/nsGkAtomList.h
@@ -1373,16 +1373,17 @@ GK_ATOM(x2, "x2")
 GK_ATOM(xChannelSelector, "xChannelSelector")
 GK_ATOM(xor_, "xor")
 GK_ATOM(y, "y")
 GK_ATOM(y1, "y1")
 GK_ATOM(y2, "y2")
 GK_ATOM(yChannelSelector, "yChannelSelector")
 GK_ATOM(z, "z")
 GK_ATOM(zoomAndPan, "zoomAndPan")
+GK_ATOM(vector_effect, "vector-effect")
 
 GK_ATOM(accumulate, "accumulate")
 GK_ATOM(additive, "additive")
 GK_ATOM(attributeName, "attributeName")
 GK_ATOM(attributeType, "attributeType")
 GK_ATOM(auto_reverse, "auto-reverse")
 GK_ATOM(begin, "begin")
 GK_ATOM(beginEvent, "beginEvent")
--- a/content/base/src/nsTreeSanitizer.cpp
+++ b/content/base/src/nsTreeSanitizer.cpp
@@ -623,16 +623,17 @@ nsIAtom** const kAttributesSVG[] = {
   &nsGkAtoms::unicode_bidi, // unicode-bidi
   // unicode-range
   // units-per-em
   // v-alphabetic
   // v-hanging
   // v-ideographic
   // v-mathematical
   &nsGkAtoms::values, // values
+  &nsGkAtoms::vector_effect, // vector-effect
   // vert-adv-y
   // vert-origin-x
   // vert-origin-y
   &nsGkAtoms::viewBox, // viewBox
   &nsGkAtoms::viewTarget, // viewTarget
   &nsGkAtoms::visibility, // visibility
   &nsGkAtoms::width, // width
   // widths
--- a/content/html/content/src/nsTextEditorState.cpp
+++ b/content/html/content/src/nsTextEditorState.cpp
@@ -1858,17 +1858,17 @@ nsTextEditorState::SetValue(const nsAStr
         mTextListener->SettingValue(true);
 
         // Also don't enforce max-length here
         PRInt32 savedMaxLength;
         plaintextEditor->GetMaxTextLength(&savedMaxLength);
         plaintextEditor->SetMaxTextLength(-1);
 
         if (insertValue.IsEmpty()) {
-          mEditor->DeleteSelection(nsIEditor::eNone);
+          mEditor->DeleteSelection(nsIEditor::eNone, nsIEditor::eStrip);
         } else {
           plaintextEditor->InsertText(insertValue);
         }
 
         mTextListener->SettingValue(false);
 
         if (!weakFrame.IsAlive()) {
           // If the frame was destroyed because of a flush somewhere inside
--- a/content/smil/nsSMILCSSProperty.cpp
+++ b/content/smil/nsSMILCSSProperty.cpp
@@ -276,16 +276,17 @@ nsSMILCSSProperty::IsPropertyAnimatable(
     case eCSSProperty_stroke_miterlimit:
     case eCSSProperty_stroke_opacity:
     case eCSSProperty_stroke_width:
     case eCSSProperty_text_anchor:
     case eCSSProperty_text_blink:
     case eCSSProperty_text_decoration:
     case eCSSProperty_text_decoration_line:
     case eCSSProperty_text_rendering:
+    case eCSSProperty_vector_effect:
     case eCSSProperty_visibility:
     case eCSSProperty_word_spacing:
       return true;
 
     // EXPLICITLY NON-ANIMATABLE PROPERTIES:
     // (Some of these aren't supported at all in Gecko -- I've commented those
     // ones out. If/when we add support for them, uncomment their line here)
     // ----------------------------------------------------------------------
--- a/content/smil/test/db_smilCSSFromTo.js
+++ b/content/smil/test/db_smilCSSFromTo.js
@@ -458,16 +458,19 @@ var gFromToBundles = [
                              toComp: "geometricprecision" }),
     new AnimTestcaseFromTo("geometricPrecision", "optimizeLegibility",
                            { fromComp: "geometricprecision",
                              toComp: "optimizelegibility" }),
   ]),
   new TestcaseBundle(gPropList.unicode_bidi, [
     new AnimTestcaseFromTo("embed", "bidi-override"),
   ]),
+  new TestcaseBundle(gPropList.vector_effect, [
+    new AnimTestcaseFromTo("none", "non-scaling-stroke"),
+  ]),
   new TestcaseBundle(gPropList.visibility, [
     new AnimTestcaseFromTo("visible", "hidden"),
     new AnimTestcaseFromTo("hidden", "collapse"),
   ]),
   new TestcaseBundle(gPropList.word_spacing,
                      [].concat(_fromToTestLists.lengthNoUnits,
                                _fromToTestLists.lengthPx,
                                _fromToTestLists.lengthPxPctSVG)),
--- a/content/smil/test/db_smilCSSPropertyList.js
+++ b/content/smil/test/db_smilCSSPropertyList.js
@@ -111,14 +111,15 @@ var gPropList =
   stroke_linejoin:   new NonAdditiveAttribute("stroke-linejoin", "CSS", "rect"),
   stroke_miterlimit: new AdditiveAttribute("stroke-miterlimit", "CSS", "rect"),
   stroke_opacity:    new AdditiveAttribute("stroke-opacity", "CSS", "rect"),
   stroke_width:      new AdditiveAttribute("stroke-width", "CSS", "rect"),
   text_anchor:       new NonAdditiveAttribute("text-anchor", "CSS", "text"),
   text_decoration:   new NonAdditiveAttribute("text-decoration", "CSS", "text"),
   text_rendering:    new NonAdditiveAttribute("text-rendering", "CSS", "text"),
   unicode_bidi:      new NonAnimatableAttribute("unicode-bidi", "CSS", "text"),
+  vector_effect:     new NonAdditiveAttribute("vector-effect", "CSS", "rect"),
   visibility:        new NonAdditiveAttribute("visibility", "CSS", "rect"),
   word_spacing:      new AdditiveAttribute("word-spacing", "CSS", "text"),
   writing_mode:
     // NOTE: Not supported by Mozilla, but explicitly non-animatable
     new NonAnimatableAttribute("writing-mode", "CSS", "text"),
 };
--- a/content/svg/content/src/nsSVGElement.cpp
+++ b/content/svg/content/src/nsSVGElement.cpp
@@ -926,16 +926,17 @@ nsSVGElement::sFillStrokeMap[] = {
   { &nsGkAtoms::stroke },
   { &nsGkAtoms::stroke_dasharray },
   { &nsGkAtoms::stroke_dashoffset },
   { &nsGkAtoms::stroke_linecap },
   { &nsGkAtoms::stroke_linejoin },
   { &nsGkAtoms::stroke_miterlimit },
   { &nsGkAtoms::stroke_opacity },
   { &nsGkAtoms::stroke_width },
+  { &nsGkAtoms::vector_effect },
   { nsnull }
 };
 
 // PresentationAttributes-Graphics
 /* static */ const nsGenericElement::MappedAttributeEntry
 nsSVGElement::sGraphicsMap[] = {
   { &nsGkAtoms::clip_path },
   { &nsGkAtoms::clip_rule },
--- a/content/svg/content/test/bounds-helper.svg
+++ b/content/svg/content/test/bounds-helper.svg
@@ -15,15 +15,16 @@ text { font: 20px monospace; }
   <g transform="rotate(45 175 75)">
     <rect id="rect2" x="150" y="50" width="50" height="50" fill="yellow"/>
     <rect id="rect2a" x="150" y="50" width="50" height="50" fill="none" stroke-width="4" stroke="blue"/>
     <text id="text3" x="150" y="50" text-anchor="middle">abc</text>
   </g>
   <g transform="scale(2)">
     <rect id="rect3" x="25" y="80" width="50" height="50" fill="green"/>
     <rect id="rect3a" x="25" y="80" width="50" height="50" fill="none" stroke-width="4" stroke="blue"/>
+    <rect id="rect3b" vector-effect="non-scaling-stroke" x="100" y="100" width="25" height="25" fill="orange" stroke-width="4" stroke="yellow"/>
   </g>
   <g transform="scale(2) rotate(45 175 75)">
     <rect id="rect4" x="150" y="50" width="50" height="50" fill="yellow"/>
     <rect id="rect4a" x="150" y="50" width="50" height="50" fill="none" stroke-width="4" stroke="blue"/>
   </g>
 </g>
 </svg>
--- a/content/svg/content/test/test_bounds.html
+++ b/content/svg/content/test/test_bounds.html
@@ -88,16 +88,17 @@ function runTest()
   isWithAbsTolerance(rect4Bounds.left, rect.left, 0.1, "rect4.getBoundingClientRect().left");
   isWithAbsTolerance(rect4Bounds.top, rect.top, 0.1, "rect4.getBoundingClientRect().top");
   isWithAbsTolerance(rect4Bounds.width, rect.width, 0.1, "rect4.getBoundingClientRect().width");
   isWithAbsTolerance(rect4Bounds.height, rect.height, 0.1, "rect4.getBoundingClientRect().height");
 
   var rect1aBounds = doc.getElementById("rect1a").getBoundingClientRect();
   var rect2aBounds = doc.getElementById("rect2a").getBoundingClientRect();
   var rect3aBounds = doc.getElementById("rect3a").getBoundingClientRect();
+  var rect3bBounds = doc.getElementById("rect3b").getBoundingClientRect();
   var rect4aBounds = doc.getElementById("rect4a").getBoundingClientRect();
 
   is(rect1aBounds.left, 48, "rect1a.getBoundingClientRect().left");
   is(rect1aBounds.top, 48, "rect1a.getBoundingClientRect().top");
   is(rect1aBounds.width, 54, "rect1a.getBoundingClientRect().width");
   is(rect1aBounds.height, 54, "rect1a.getBoundingClientRect().height");
 
   rect = new Rect(175 - 54 * sin45, 75 - 54 * sin45, 54 * sin45 * 2, 54 * sin45 * 2);
@@ -106,16 +107,21 @@ function runTest()
   isWithAbsTolerance(rect2aBounds.width, rect.width, 0.1, "rect2a.getBoundingClientRect().width");
   isWithAbsTolerance(rect2aBounds.height, rect.height, 0.1, "rect2a.getBoundingClientRect().height");
 
   is(rect3aBounds.left, 46, "rect3a.getBoundingClientRect().left");
   is(rect3aBounds.top, 156, "rect3a.getBoundingClientRect().top");
   is(rect3aBounds.width, 108, "rect3a.getBoundingClientRect().width");
   is(rect3aBounds.height, 108, "rect3a.getBoundingClientRect().height");
 
+  is(rect3bBounds.left, 198, "rect3b.getBoundingClientRect().left");
+  is(rect3bBounds.top, 198, "rect3b.getBoundingClientRect().top");
+  is(rect3bBounds.width, 54, "rect3b.getBoundingClientRect().width");
+  is(rect3bBounds.height, 54, "rect3b.getBoundingClientRect().height");
+
   rect = new Rect(350 - 108 * sin45, 150 - 108 * sin45, 108 * sin45 * 2, 108 * sin45 * 2);
   isWithAbsTolerance(rect4aBounds.left, rect.left, 0.1, "rect4a.getBoundingClientRect().left");
   isWithAbsTolerance(rect4aBounds.top, rect.top, 0.1, "rect4a.getBoundingClientRect().top");
   isWithAbsTolerance(rect4aBounds.width, rect.width, 0.1, "rect4a.getBoundingClientRect().width");
   isWithAbsTolerance(rect4aBounds.height, rect.height, 0.1, "rect4a.getBoundingClientRect().height");
 
   var text1a = doc.getElementById("text1a");
 
--- a/dom/imptests/Makefile.in
+++ b/dom/imptests/Makefile.in
@@ -4,28 +4,31 @@
 
 DEPTH = ../..
 topsrcdir = @top_srcdir@
 srcdir = @srcdir@
 VPATH = @srcdir@
 relativesrcdir = dom/imported-tests
 
 DIRS = \
+  failures/editing/conformancetest \
+  failures/editing/selecttest \
+  failures/webapps/WebStorage/tests/submissions/Ms2ger \
+  failures/webapps/WebStorage/tests/submissions/Infraware \
+  failures/webapps/DOMCore/tests/submissions/Opera \
   $(NULL)
 
+include $(srcdir)/editing.mk
 include $(srcdir)/html.mk
 include $(srcdir)/webapps.mk
 include $(DEPTH)/config/autoconf.mk
 include $(topsrcdir)/config/rules.mk
 
 _SUPPORT_FILES = \
   testharness.js \
   testharnessreport.js \
   testharness.css \
   idlharness.js \
   WebIDLParser.js \
   $(NULL)
 
-testharnessreport.js: testharnessreport.js.in writeReporter.py html.json webapps.json
-	$(PYTHON_PATH) $(srcdir)/writeReporter.py $<
-
 libs:: $(_SUPPORT_FILES)
 	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/resources
--- a/dom/imptests/README
+++ b/dom/imptests/README
@@ -33,65 +33,60 @@ Source;  Usage and purpose;  License
   MPL
 
 * parseManifest.py
   Imported from <https://bitbucket.org/ms2ger/test-runner>. Parses MANIFEST
   files (provided in the W3C repository) as documented at
   <https://bitbucket.org/ms2ger/test-runner/raw/tip/manifests.txt>.
   MIT License
 
-* testharnessreport.js.in
+* testharnessreport.js
   Glue between testharness.js and our Mochitest runner.
   MPL
 
 * importTestsuite.py
   Imports a test suite from a remote repository. Takes one argument, a file in
   the format described under webapps.txt.
   Note: removes both source and destination directory before starting. Do not
         use with outstanding changes in either directory.
   MPL
 
 * Makefile.in
   Integration with our build system. Installs support files into /resources and
   includes a .mk file for each repository.
   MPL
 
-* failures.txt
-  List of JSON files with expected failures.
-
-* html.json / webapps.json / ...
-  Expected failures for tests in the webapps repository.
+* failures/
+  Expected failures for tests in each repository.  Each test's failures, if
+  any, are in a file with the same path and name with .json appended.  New
+  expected fail files currently needed to be added manually to makefiles.
 
 * html.mk / webapps.mk / ...
   Generated by importTestsuite.py from webapps.txt.
   Contains a list of the directories with tests. To be included in Makefile.in.
 
 * html.txt / webapps.txt / ...
   Input to importTestsuite.py.
   Lists the URL of the repository and the destination directory (separated by a
   vertical bar), followed by a list of directories within the repository
   (separated by line feeds).
 
 * html / webapps / ...
   Actual tests.
   W3C Test Suite License / W3C 3-clause BSD License
 
-* writeReporter.py
-  Generates testharness.js from testharnessreport.js.in and the JSON files for
-  repositories listed in failures.txt.
-  MPL
-
 
 =====================================================================
 Importing an additional directory from an already-imported repository
 =====================================================================
 
 Add a line to the relevant data file (e.g. webapps.txt), with the path to the
 additional directory relative to the root of the remote repository, and then run
 the importTestsuite.py script, passing the data file as its argument.
 
 
 ==========================
 Importing a new test suite
 ==========================
 
 Create a data file in the format documented above, and run the
-importTestsuite.py script, passing the data file as its argument.
+importTestsuite.py script, passing the data file as its argument.  Add any
+necessary files in failures/.
new file mode 100644
--- /dev/null
+++ b/dom/imptests/editing.mk
@@ -0,0 +1,3 @@
+DIRS += \
+  editing/ \
+  $(NULL)
new file mode 100644
--- /dev/null
+++ b/dom/imptests/editing.txt
@@ -0,0 +1,2 @@
+https://dvcs.w3.org/hg/editing|editing
+
new file mode 100644
--- /dev/null
+++ b/dom/imptests/editing/Makefile.in
@@ -0,0 +1,28 @@
+# THIS FILE IS AUTOGENERATED BY importTestsuite.py - DO NOT EDIT
+
+DEPTH = ../../..
+
+topsrcdir = @top_srcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+relativesrcdir = dom/imptests/editing
+
+DIRS = \
+  css \
+  conformancetest \
+  selecttest \
+  $(NULL)
+
+include $(DEPTH)/config/autoconf.mk
+include $(topsrcdir)/config/rules.mk
+
+_TESTS = \
+  $(NULL)
+
+_TESTS += \
+  implementation.js \
+  tests.js \
+  $(NULL)
+
+libs:: $(_TESTS)
+	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
new file mode 100644
--- /dev/null
+++ b/dom/imptests/editing/conformancetest/Makefile.in
@@ -0,0 +1,26 @@
+# THIS FILE IS AUTOGENERATED BY importTestsuite.py - DO NOT EDIT
+
+DEPTH = ../../../..
+
+topsrcdir = @top_srcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+relativesrcdir = dom/imptests/editing/conformancetest
+
+DIRS = \
+  $(NULL)
+
+include $(DEPTH)/config/autoconf.mk
+include $(topsrcdir)/config/rules.mk
+
+_TESTS = \
+  test_runtest.html \
+  test_event.html \
+  $(NULL)
+
+_TESTS += \
+  data.js \
+  $(NULL)
+
+libs:: $(_TESTS)
+	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
new file mode 100644
--- /dev/null
+++ b/dom/imptests/editing/conformancetest/data.js
@@ -0,0 +1,30067 @@
+var browserTests = [
+["foo[]bar",
+	[["backcolor","#00FFFF"]],
+	"foo[]bar",
+	[true],
+	{"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p> <p><span style=\"background-color:rgb(0, 255, 255)\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p> <p><span style=\"background-color:rgb(0, 255, 255)\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\"><span>[foo</span> <span>bar]</span></span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\"><span>[foo</span> <span>bar]</span></span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span></span> </p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span></span> </p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p><span style=\"background-color:rgb(0, 255, 255)\"><br></span></p><p><span style=\"background-color:rgb(0, 255, 255)\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p><span style=\"background-color:rgb(0, 255, 255)\"><br></span></p><p><span style=\"background-color:rgb(0, 255, 255)\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<b>foo[]bar</b>",
+	[["backcolor","#00FFFF"]],
+	"<b>foo[]bar</b>",
+	[true],
+	{"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<i>foo[]bar</i>",
+	[["backcolor","#00FFFF"]],
+	"<i>foo[]bar</i>",
+	[true],
+	{"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<span>foo</span>{}<span>bar</span>",
+	[["backcolor","#00FFFF"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[true],
+	{"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<span>foo[</span><span>]bar</span>",
+	[["backcolor","#00FFFF"]],
+	"<span>foo[</span><span>]bar</span>",
+	[true],
+	{"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar</span><b><span style=\"background-color:rgb(0, 255, 255)\">baz]</span>qoz</b>quz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar</span><b><span style=\"background-color:rgb(0, 255, 255)\">baz]</span>qoz</b>quz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","true"],["backcolor","#00FFFF"]],
+	"{<p></p><p> </p><p><span style=\"background-color:rgb(0, 255, 255)\">foo</span></p>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","false"],["backcolor","#00FFFF"]],
+	"{<p></p><p> </p><p><span style=\"background-color:rgb(0, 255, 255)\">foo</span></p>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<p style=\"background-color: rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[true],
+	{"backcolor":[false,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}],
+["<p style=\"background-color: #00ffff\">foo[bar]baz</p>",
+	[["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[true],
+	{"backcolor":[false,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}],
+["<p style=\"background-color: aqua\">foo[bar]baz</p>",
+	[["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo[bar]baz</p>",
+	[true],
+	{"backcolor":[false,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[true,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[true,false,"rgb(0, 255, 255)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<span style=\"background-color: aqua\">foo<span style=\"background-color: tan\">b[ar]</span>baz</span>",
+	[["backcolor","#00FFFF"]],
+	"<span style=\"background-color:rgb(0, 255, 255)\">foo<span style=\"background-color:rgb(210, 180, 140)\">b</span>[ar]baz</span>",
+	[true],
+	{"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<p style=\"background-color: aqua\">foo<span style=\"background-color: tan\">b[ar]</span>baz</p>",
+	[["backcolor","#00FFFF"]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo<span style=\"background-color:rgb(210, 180, 140)\">b</span>[ar]baz</p>",
+	[true],
+	{"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[true,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[true,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[true,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[true,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["fo[o<span style=background-color:tan>bar</span>b]az",
+	[["backcolor","#00FFFF"]],
+	"fo<span style=\"background-color:rgb(0, 255, 255)\">[obarb]</span>az",
+	[true],
+	{"backcolor":[true,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["foo[<span style=background-color:tan>bar</span>]baz",
+	[["backcolor","#00FFFF"]],
+	"foo[<span style=\"background-color:rgb(0, 255, 255)\">bar</span>]baz",
+	[true],
+	{"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["foo<span style=background-color:tan>[bar]</span>baz",
+	[["backcolor","#00FFFF"]],
+	"foo<span style=\"background-color:rgb(0, 255, 255)\">[bar]</span>baz",
+	[true],
+	{"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["foo{<span style=background-color:tan>bar</span>}baz",
+	[["backcolor","#00FFFF"]],
+	"foo{<span style=\"background-color:rgb(0, 255, 255)\">bar}</span>baz",
+	[true],
+	{"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[true,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[true,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgb(210, 180, 140)",false,false,"rgb(0, 255, 255)"]}],
+["foo[]bar",
+	[["bold",""]],
+	"foo[]bar",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","true"],["bold",""]],
+	"<p><span style=\"font-weight:bold\">[foo</span></p> <p><span style=\"font-weight:bold\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","false"],["bold",""]],
+	"<p><b>[foo</b></p> <p><b>bar]</b></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:bold\"><span>[foo</span> <span>bar]</span></span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b><span>[foo</span> <span>bar]</span></b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","true"],["bold",""]],
+	"<p><span style=\"font-weight:bold\">[foo</span></p><p> <span style=\"font-weight:bold\"><span>bar</span></span> </p><p><span style=\"font-weight:bold\">baz]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","false"],["bold",""]],
+	"<p><b>[foo</b></p><p> <b><span>bar</span></b> </p><p><b>baz]</b></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","true"],["bold",""]],
+	"<p><span style=\"font-weight:bold\">[foo</span></p><p><span style=\"font-weight:bold\"><br></span></p><p><span style=\"font-weight:bold\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","false"],["bold",""]],
+	"<p><b>[foo</b></p><p><b><br></b></p><p><b>bar]</b></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<b>foo[]bar</b>",
+	[["bold",""]],
+	"<b>foo[]bar</b>",
+	[true],
+	{"bold":[false,true,"",false,false,""]}],
+["<i>foo[]bar</i>",
+	[["bold",""]],
+	"<i>foo[]bar</i>",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["<span>foo</span>{}<span>bar</span>",
+	[["bold",""]],
+	"<span>foo</span>{}<span>bar</span>",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["<span>foo[</span><span>]bar</span>",
+	[["bold",""]],
+	"<span>foo[</span><span>]bar</span>",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["bold",""]],
+	"foo<b>[barbaz]qoz</b>quz",
+	[true],
+	{"bold":[true,false,"",false,true,""]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar</b><i><b>baz]</b>qoz</i>quz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","true"],["bold",""]],
+	"{<p></p><p> </p><p><span style=\"font-weight:bold\">foo</span></p>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","false"],["bold",""]],
+	"{<p></p><p> </p><p><b>foo</b></p>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span contenteditable=false>[bar]</span>baz",
+	[["bold",""]],
+	"foo<span contenteditable=\"false\">[bar]</span>baz",
+	[false],
+	{"bold":[false,false,"",false,false,""]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span contenteditable=false>ba[r</span>b]az",
+	[["bold",""]],
+	"foo<span contenteditable=\"false\">ba[r</span>b]az",
+	[false],
+	{"bold":[false,false,"",false,false,""]}],
+["fo[o<span contenteditable=false>b]ar</span>baz",
+	[["bold",""]],
+	"fo[o<span contenteditable=\"false\">b]ar</span>baz",
+	[false],
+	{"bold":[false,false,"",false,false,""]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<span contenteditable=false>fo[o<span contenteditable=true>bar</span>b]az</span>",
+	[["bold",""]],
+	"<span contenteditable=\"false\">fo[o<span contenteditable=\"true\">bar</span>b]az</span>",
+	[false],
+	{"bold":[false,false,"",false,false,""]}],
+["<span contenteditable=false>foo<span contenteditable=true>ba[r</span>b]az</span>",
+	[["bold",""]],
+	"<span contenteditable=\"false\">foo<span contenteditable=\"true\">ba[r</span>b]az</span>",
+	[false],
+	{"bold":[false,false,"",false,false,""]}],
+["<span contenteditable=false>fo[o<span contenteditable=true>b]ar</span>baz</span>",
+	[["bold",""]],
+	"<span contenteditable=\"false\">fo[o<span contenteditable=\"true\">b]ar</span>baz</span>",
+	[false],
+	{"bold":[false,false,"",false,false,""]}],
+["<span contenteditable=false>fo[<b>o<span contenteditable=true>bar</span>b</b>]az</span>",
+	[["bold",""]],
+	"<span contenteditable=\"false\">fo[<b>o<span contenteditable=\"true\">bar</span>b</b>]az</span>",
+	[false],
+	{"bold":[false,true,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: bold\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: bold\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>bar</b>[baz]",
+	[["bold",""]],
+	"foo<b>bar[baz]</b>",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["[foo]<b>bar</b>baz",
+	[["bold",""]],
+	"<b>[foo]bar</b>baz",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["<b>foo</b>[bar]<b>baz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<b>foo</b>[bar]<b>baz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<strong>bar</strong>[baz]",
+	[["bold",""]],
+	"foo<strong>bar[baz]</strong>",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["[foo]<strong>bar</strong>baz",
+	[["bold",""]],
+	"<strong>[foo]bar</strong>baz",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["<strong>foo</strong>[bar]<strong>baz</strong>",
+	[["bold",""]],
+	"<strong>foo[bar]baz</strong>",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["<b>foo</b>[bar]<strong>baz</strong>",
+	[["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["<strong>foo</strong>[bar]<b>baz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<strong>foo[bar]baz</strong>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<strong>foo</strong>[bar]<b>baz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<strong>foo[bar]baz</strong>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo[<b>bar</b>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo[<b>bar</b>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo[<b>bar]</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo[<b>bar]</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>[bar</b>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>[bar</b>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo{<b></b>}baz",
+	[["bold",""]],
+	"foo{<b></b>}baz",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["foo{<i></i>}baz",
+	[["bold",""]],
+	"foo{<i></i>}baz",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["foo{<b><i></i></b>}baz",
+	[["bold",""]],
+	"foo{<b><i></i></b>}baz",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["foo{<i><b></b></i>}baz",
+	[["bold",""]],
+	"foo{<i><b></b></i>}baz",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["foo<strong>[bar]</strong>baz",
+	[["bold",""]],
+	"foo[bar]baz",
+	[true],
+	{"bold":[false,true,"",false,false,""]}],
+["foo[<strong>bar</strong>]baz",
+	[["bold",""]],
+	"foo[bar]baz",
+	[true],
+	{"bold":[false,true,"",false,false,""]}],
+["foo[<strong>bar]</strong>baz",
+	[["bold",""]],
+	"foo[bar]baz",
+	[true],
+	{"bold":[false,true,"",false,false,""]}],
+["foo<strong>[bar</strong>]baz",
+	[["bold",""]],
+	"foo[bar]baz",
+	[true],
+	{"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: bold\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: bold\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo[<span style=\"font-weight: bold\">bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo[<span style=\"font-weight: bold\">bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo[<span style=\"font-weight: bold\">bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo[<span style=\"font-weight: bold\">bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: bold\">[bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: bold\">[bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo [bar <b>baz] qoz</b> quz sic",
+	[["bold",""]],
+	"foo <b>[bar baz] qoz</b> quz sic",
+	[true],
+	{"bold":[true,false,"",false,true,""]}],
+["foo bar <b>baz [qoz</b> quz] sic",
+	[["bold",""]],
+	"foo bar <b>baz [qoz quz]</b> sic",
+	[true],
+	{"bold":[true,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<b id=purple>bar [baz] qoz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span id=\"purple\"><b>bar </b>[baz]<b> qoz</b></span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 100\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 100\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 200\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 200\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 300\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 300\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 400\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 400\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 500\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 500\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar]</b>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 600\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 600\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 700\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 700\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 800\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 800\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 900\">[bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 900\">[bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 400\">[bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">[bar</span>]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 400\">[bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>[bar</b>]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: 700\">[bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: 700\">[bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo[<span style=\"font-weight: 400\">bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[<span style=\"font-weight:bold\">bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo[<span style=\"font-weight: 400\">bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[<b>bar]</b>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo[<span style=\"font-weight: 700\">bar]</span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo[<span style=\"font-weight: 700\">bar]</span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo[<span style=\"font-weight: 400\">bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[<span style=\"font-weight:bold\">bar</span>]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["foo[<span style=\"font-weight: 400\">bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[<b>bar</b>]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo[<span style=\"font-weight: 700\">bar</span>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo[<span style=\"font-weight: 700\">bar</span>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<span style=\"font-weight: 100\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:100\">foo<b>[bar]</b>baz</span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<span style=\"font-weight: 400\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:400\">foo<b>[bar]</b>baz</span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<span style=\"font-weight: 700\">foo[bar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo</b>[bar]<b>baz</b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["{<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["{<span style=\"font-weight: 100\">foobar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<span style=\"font-weight:100\"><b>foobar]</b>baz</span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["{<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["{<span style=\"font-weight: 400\">foobar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<span style=\"font-weight:400\"><b>foobar]</b>baz</span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["{<span style=\"font-weight: 700\">foobar]baz</span>",
+	[["stylewithcss","true"],["bold",""]],
+	"{foobar]<span style=\"font-weight:700\">baz</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["{<span style=\"font-weight: 700\">foobar]baz</span>",
+	[["stylewithcss","false"],["bold",""]],
+	"{foobar]<b>baz</b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["{<span style=\"font-weight: 900\">foobar]baz</span>",
+	[["bold",""]],
+	"{foobar]<span style=\"font-weight:900\">baz</span>",
+	[true],
+	{"bold":[false,true,"",false,false,""]}],
+["<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>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<span style=\"font-weight: 100\">foo[barbaz</span>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:100\">foo<b>[barbaz</b></span>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<span style=\"font-weight: 400\">foo[barbaz</span>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<span style=\"font-weight:400\">foo<b>[barbaz</b></span>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<span style=\"font-weight: 700\">foo[barbaz</span>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<span style=\"font-weight:700\">foo</span>[barbaz}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<span style=\"font-weight: 700\">foo[barbaz</span>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo</b>[barbaz}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<span style=\"font-weight: 900\">foo[barbaz</span>}",
+	[["bold",""]],
+	"<span style=\"font-weight:900\">foo</span>[barbaz}",
+	[true],
+	{"bold":[false,true,"",false,false,""]}],
+["<h3>foo[bar]baz</h3>",
+	[["stylewithcss","true"],["bold",""]],
+	"<h3>foo<span style=\"font-weight:normal\">[bar]</span>baz</h3>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<h3>foo[bar]baz</h3>",
+	[["stylewithcss","false"],["bold",""]],
+	"<h3>foo<span style=\"font-weight:normal\">[bar]</span>baz</h3>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["{<h3>foobar]baz</h3>",
+	[["stylewithcss","true"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobar]</span>baz</h3>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["{<h3>foobar]baz</h3>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobar]</span>baz</h3>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<h3>foo[barbaz</h3>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<h3>foo<span style=\"font-weight:normal\">[barbaz</span></h3>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<h3>foo[barbaz</h3>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<h3>foo<span style=\"font-weight:normal\">[barbaz</span></h3>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<h3>[foobarbaz]</h3>",
+	[["stylewithcss","true"],["bold",""]],
+	"<h3><span style=\"font-weight:normal\">[foobarbaz]</span></h3>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<h3>[foobarbaz]</h3>",
+	[["stylewithcss","false"],["bold",""]],
+	"<h3><span style=\"font-weight:normal\">[foobarbaz]</span></h3>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["{<h3>foobarbaz]</h3>",
+	[["stylewithcss","true"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobarbaz]</span></h3>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["{<h3>foobarbaz]</h3>",
+	[["stylewithcss","false"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobarbaz]</span></h3>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<h3>[foobarbaz</h3>}",
+	[["stylewithcss","true"],["bold",""]],
+	"<h3><span style=\"font-weight:normal\">[foobarbaz</span></h3>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<h3>[foobarbaz</h3>}",
+	[["stylewithcss","false"],["bold",""]],
+	"<h3><span style=\"font-weight:normal\">[foobarbaz</span></h3>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["{<h3>foobarbaz</h3>}",
+	[["stylewithcss","true"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobarbaz</span></h3>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["{<h3>foobarbaz</h3>}",
+	[["stylewithcss","false"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foobarbaz</span></h3>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<b>foo<span style=\"font-weight: normal\">[bar]</span>baz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<b>foo<span style=\"font-weight: normal\">[bar]</span>baz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo[bar]baz</b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["{<b>foo</b> <b>bar</b>}",
+	[["stylewithcss","true"],["bold",""]],
+	"{<span style=\"font-weight:bold\">foo bar}</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[true,false,"",false,true,""]}],
+["{<b>foo</b> <b>bar</b>}",
+	[["stylewithcss","false"],["bold",""]],
+	"{<b>foo bar}</b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[true,false,"",false,true,""]}],
+["{<h3>foo</h3><b>bar</b>}",
+	[["stylewithcss","true"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foo</span></h3>bar}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["{<h3>foo</h3><b>bar</b>}",
+	[["stylewithcss","false"],["bold",""]],
+	"{<h3><span style=\"font-weight:normal\">foo</span></h3>bar}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<i><b>foo</b></i>[bar]<i><b>baz</b></i>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b><i>foo</i>[bar]<i>baz</i></b>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<i><b>foo</b></i>[bar]<i><b>baz</b></i>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b><i>foo</i>[bar]<i>baz</i></b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<i><b>foo</b></i>[bar]<b>baz</b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b><i>foo</i>[bar]baz</b>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<i><b>foo</b></i>[bar]<b>baz</b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b><i>foo</i>[bar]baz</b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<b>foo</b>[bar]<i><b>baz</b></i>",
+	[["stylewithcss","true"],["bold",""]],
+	"<b>foo[bar]<i>baz</i></b>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<b>foo</b>[bar]<i><b>baz</b></i>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>foo[bar]<i>baz</i></b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<font color=blue face=monospace><b>foo</b></font>[bar]",
+	[["bold",""]],
+	"<b><font color=\"blue\" face=\"monospace\">foo</font>[bar]</b>",
+	[true],
+	{"bold":[false,false,"",false,true,""]}],
+["foo<span style=\"font-weight: normal\"><b>{bar}</b></span>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo{bar}baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<span style=\"font-weight: normal\"><b>{bar}</b></span>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo{bar}baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["[foo<span class=notbold>bar</span>baz]",
+	[["stylewithcss","false"],["bold",""]],
+	"<b>[foo<span class=\"notbold\"><b>bar</b></span>baz]</b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<b><span class=notbold>[foo]</span></b>",
+	[["stylewithcss","true"],["bold",""]],
+	"<span class=\"notbold\"><span style=\"font-weight:bold\">[foo]</span></span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<b><span class=notbold>[foo]</span></b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<span class=\"notbold\"><b>[foo]</b></span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<b><span class=notbold>foo[bar]baz</span></b>",
+	[["stylewithcss","false"],["bold",""]],
+	"<b><span class=\"notbold\">foo<b>[bar]</b>baz</span></b>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<p style=\"font-weight: bold\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["bold",""]],
+	"<p><b>foo</b>[bar]<b>baz</b></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["fo[o<b>b]ar</b>baz",
+	[["bold",""]],
+	"fo<b>[ob]ar</b>baz",
+	[true],
+	{"bold":[true,false,"",false,true,""]}],
+["foo<b>ba[r</b>b]az",
+	[["bold",""]],
+	"foo<b>ba[rb]</b>az",
+	[true],
+	{"bold":[true,false,"",false,true,""]}],
+["fo[o<b>bar</b>b]az",
+	[["stylewithcss","true"],["bold",""]],
+	"fo<span style=\"font-weight:bold\">[obarb]</span>az",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[true,false,"",false,true,""]}],
+["fo[o<b>bar</b>b]az",
+	[["stylewithcss","false"],["bold",""]],
+	"fo<b>[obarb]</b>az",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[true,false,"",false,true,""]}],
+["foo[<b>b]ar</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[b]<span style=\"font-weight:bold\">ar</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo[<b>b]ar</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[b]<b>ar</b>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>ba[r</b>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo<span style=\"font-weight:bold\">ba</span>[r]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>ba[r</b>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo<b>ba</b>[r]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo[<b>bar</b>]baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo[<b>bar</b>]baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo[bar]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","true"],["bold",""]],
+	"foo{bar}baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","false"],["bold",""]],
+	"foo{bar}baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["fo[o<span style=font-weight:bold>b]ar</span>baz",
+	[["bold",""]],
+	"fo<span style=\"font-weight:bold\">[ob]ar</span>baz",
+	[true],
+	{"bold":[true,false,"",false,true,""]}],
+["<span style=font-weight:800>fo[o</span><span style=font-weight:900>b]ar</span>",
+	[["bold",""]],
+	"<span style=\"font-weight:800\">fo</span>[ob]<span style=\"font-weight:900\">ar</span>",
+	[true],
+	{"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[true,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[true,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["foo[]bar",
+	[["createlink","http://www.google.com/"]],
+	"foo[]bar",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["createlink","http://www.google.com/"]],
+	"<p><a href=\"http://www.google.com/\">[foo</a></p> <p><a href=\"http://www.google.com/\">bar]</a></p>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\"><span>[foo</span> <span>bar]</span></a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["createlink","http://www.google.com/"]],
+	"<p><a href=\"http://www.google.com/\">[foo</a></p><p> <a href=\"http://www.google.com/\"><span>bar</span></a> </p><p><a href=\"http://www.google.com/\">baz]</a></p>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<p>[foo<p><br><p>bar]",
+	[["createlink","http://www.google.com/"]],
+	"<p><a href=\"http://www.google.com/\">[foo</a></p><p><a href=\"http://www.google.com/\"><br></a></p><p><a href=\"http://www.google.com/\">bar]</a></p>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<b>foo[]bar</b>",
+	[["createlink","http://www.google.com/"]],
+	"<b>foo[]bar</b>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<i>foo[]bar</i>",
+	[["createlink","http://www.google.com/"]],
+	"<i>foo[]bar</i>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<span>foo</span>{}<span>bar</span>",
+	[["createlink","http://www.google.com/"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<span>foo[</span><span>]bar</span>",
+	[["createlink","http://www.google.com/"]],
+	"<span>foo[</span><span>]bar</span>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo[bar]baz",
+	[["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar</a><b><a href=\"http://www.google.com/\">baz]</a>qoz</b>quz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo[bar<i>baz]qoz</i>quz",
+	[["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar</a><i><a href=\"http://www.google.com/\">baz]</a>qoz</i>quz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["{<p><p> <p>foo</p>}",
+	[["createlink","http://www.google.com/"]],
+	"{<p></p><p> </p><p><a href=\"http://www.google.com/\">foo</a></p>}",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["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>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["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>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+	[["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>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+	[["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>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+	[["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>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+	[["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>}",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=http://www.google.com/>foo[bar]baz</a>",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">foo[bar]baz</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=http://www.google.com/>foo[barbaz</a>}",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">foo[barbaz</a>}",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["{<a href=http://www.google.com/>foobar]baz</a>",
+	[["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\">foobar]baz</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["{<a href=http://www.google.com/>foobarbaz</a>}",
+	[["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\">foobarbaz}</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=http://www.google.com/>[foobarbaz]</a>",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo<a href=http://www.google.com/>[bar]</a>baz",
+	[["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["[foo]<a href=http://www.google.com/>bar</a>baz",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foo]bar</a>baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo<a href=http://www.google.com/>bar</a>[baz]",
+	[["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">bar[baz]</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo[<a href=http://www.google.com/>bar</a>]baz",
+	[["createlink","http://www.google.com/"]],
+	"foo[<a href=\"http://www.google.com/\">bar</a>]baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo<a href=http://www.google.com/>[bar</a>baz]",
+	[["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[barbaz]</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["[foo<a href=http://www.google.com/>bar]</a>baz",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobar]</a>baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["[foo<a href=http://www.google.com/>bar</a>baz]",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=otherurl>foo[bar]baz</a>",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">foo[bar]baz</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=otherurl>foo[barbaz</a>}",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">foo[barbaz</a>}",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["{<a href=otherurl>foobar]baz</a>",
+	[["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\">foobar]baz</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["{<a href=otherurl>foobarbaz</a>}",
+	[["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\">foobarbaz}</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=otherurl>[foobarbaz]</a>",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo<a href=otherurl>[bar]</a>baz",
+	[["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo[<a href=otherurl>bar</a>]baz",
+	[["createlink","http://www.google.com/"]],
+	"foo[<a href=\"http://www.google.com/\">bar</a>]baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo<a href=otherurl>[bar</a>baz]",
+	[["createlink","http://www.google.com/"]],
+	"foo<a href=\"http://www.google.com/\">[barbaz]</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["[foo<a href=otherurl>bar]</a>baz",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobar]</a>baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["[foo<a href=otherurl>bar</a>baz]",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=otherurl><b>foo[bar]baz</b></a>",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\"><b>foo[bar]baz</b></a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=otherurl><b>foo[barbaz</b></a>}",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\"><b>foo[barbaz</b></a>}",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["{<a href=otherurl><b>foobar]baz</b></a>",
+	[["createlink","http://www.google.com/"]],
+	"{<a href=\"http://www.google.com/\"><b>foobar]baz</b></a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a href=otherurl><b>[foobarbaz]</b></a>",
+	[["createlink","http://www.google.com/"]],
+	"<a href=\"http://www.google.com/\"><b>[foobarbaz]</b></a>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a name=abc>foo[bar]baz</a>",
+	[["createlink","http://www.google.com/"]],
+	"<span name=\"abc\">foo<a href=\"http://www.google.com/\">[bar]</a>baz</span>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["<a name=abc><b>foo[bar]baz</b></a>",
+	[["createlink","http://www.google.com/"]],
+	"<span name=\"abc\"><b>foo<a href=\"http://www.google.com/\">[bar]</a>baz</b></span>",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo[bar]baz",
+	[["createlink",""]],
+	"foo[bar]baz",
+	[true],
+	{"createlink":[false,false,"",false,false,""]}],
+["foo[]bar",
+	[["delete",""]],
+	"fo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span>foo</span>{}<span>bar</span>",
+	[["delete",""]],
+	"<span>fo[]</span><span>bar</span>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span>foo[</span><span>]bar</span>",
+	[["delete",""]],
+	"<span>foo[]</span><span>bar</span>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<span style=display:none>bar</span>[]baz",
+	[["stylewithcss","true"],["delete",""]],
+	"fo[]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo<span style=display:none>bar</span>[]baz",
+	[["stylewithcss","false"],["delete",""]],
+	"fo[]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo<script>bar</script>[]baz",
+	[["delete",""]],
+	"fo[]baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["fo&ouml;[]bar",
+	[["delete",""]],
+	"fo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo&#x308;[]bar",
+	[["delete",""]],
+	"foo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo&#x308;&#x327;[]bar",
+	[["delete",""]],
+	"foö[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["&ouml;[]bar",
+	[["delete",""]],
+	"{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["o&#x308;[]bar",
+	[["delete",""]],
+	"o[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["o&#x308;&#x327;[]bar",
+	[["delete",""]],
+	"ö[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["&#x5e9;&#x5c1;&#x5b8;[]&#x5dc;&#x5d5;&#x5b9;&#x5dd;",
+	[["delete",""]],
+	"שׁ[]לוֹם",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["&#x5e9;&#x5c1;&#x5b8;&#x5dc;&#x5d5;&#x5b9;[]&#x5dd;",
+	[["delete",""]],
+	"שָׁלו[]ם",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><p>[]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><p>[]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo</p>[]bar",
+	[["delete",""]],
+	"<p>foo{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<p>[]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<p>[]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br></p><p>[]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br></p><p>[]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br></p>[]bar",
+	[["delete",""]],
+	"<p>foo{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<br><p>[]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<br><p>[]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br><br></p><p>[]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br><br></p><p>[]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br><br></p>[]bar",
+	[["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<br><br><p>[]bar</p>",
+	[["delete",""]],
+	"foo<br><p>{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div><p>foo</p></div><p>[]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo</p></div><p>[]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><div><p>[]bar</p></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><div><p>[]bar</p></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo</p></div><div><p>[]bar</p></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo</p></div><div><p>[]bar</p></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo</p></div>[]bar",
+	[["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<div><p>[]bar</p></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<div><p>[]bar</p></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div>foo</div><div>[]bar</div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div>foo{}bar</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div>foo</div><div>[]bar</div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div>foo{}bar</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<pre>foo</pre>[]bar",
+	[["delete",""]],
+	"<pre>foo{}bar</pre>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<br>[]bar",
+	[["delete",""]],
+	"foo{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<br><b>[]bar</b>",
+	[["delete",""]],
+	"foo{}<b>bar</b>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<hr>[]bar",
+	[["delete",""]],
+	"foo{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<hr><p>[]bar",
+	[["delete",""]],
+	"<p>foo</p><p>{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><br><p>[]bar</p>",
+	[["delete",""]],
+	"<p>foo</p><p>{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><br><br><p>[]bar</p>",
+	[["delete",""]],
+	"<p>foo</p><br><p>{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><img src=/img/lion.svg><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo</p><img src=\"/img/lion.svg\">{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><img src=/img/lion.svg><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo</p><img src=\"/img/lion.svg\">{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<img src=/img/lion.svg>[]bar",
+	[["delete",""]],
+	"foo{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<a>foo</a>[]bar",
+	[["delete",""]],
+	"foo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<a href=/>foo</a>[]bar",
+	[["delete",""]],
+	"foo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<a name=abc>foo</a>[]bar",
+	[["delete",""]],
+	"foo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<a href=/ name=abc>foo</a>[]bar",
+	[["delete",""]],
+	"foo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span><a>foo</a></span>[]bar",
+	[["delete",""]],
+	"<span>foo</span>[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span><a href=/>foo</a></span>[]bar",
+	[["delete",""]],
+	"<span>foo</span>[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span><a name=abc>foo</a></span>[]bar",
+	[["delete",""]],
+	"<span>foo</span>[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span><a href=/ name=abc>foo</a></span>[]bar",
+	[["delete",""]],
+	"<span>foo</span>[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<a>[]bar</a>",
+	[["delete",""]],
+	"fo[]<a>bar</a>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<a href=/>[]bar</a>",
+	[["delete",""]],
+	"fo[]<a href=\"/\">bar</a>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<a name=abc>[]bar</a>",
+	[["delete",""]],
+	"fo[]<a name=\"abc\">bar</a>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<a href=/ name=abc>[]bar</a>",
+	[["delete",""]],
+	"fo[]<a href=\"/\" name=\"abc\">bar</a>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo &nbsp;[]",
+	[["delete",""]],
+	"foo&nbsp;[]",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["&nbsp;[] foo",
+	[["delete",""]],
+	"{}&nbsp;foo",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo &nbsp;[]bar",
+	[["delete",""]],
+	"foo []bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo&nbsp; []bar",
+	[["delete",""]],
+	"foo []bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo&nbsp;&nbsp;[]bar",
+	[["delete",""]],
+	"foo []bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo  []bar",
+	[["delete",""]],
+	"foo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo []&nbsp; bar",
+	[["delete",""]],
+	"foo[]&nbsp; bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo &nbsp;[] bar",
+	[["delete",""]],
+	"foo&nbsp;[] bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo &nbsp; []bar",
+	[["delete",""]],
+	"foo&nbsp; []bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo []<span>&nbsp;</span> bar",
+	[["delete",""]],
+	"foo[]<span>&nbsp;</span> bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo <span>&nbsp;</span>[] bar",
+	[["delete",""]],
+	"foo&nbsp;{} bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo <span>&nbsp;</span> []bar",
+	[["delete",""]],
+	"foo&nbsp;<span> </span>{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<b>foo </b>&nbsp;[]bar",
+	[["delete",""]],
+	"<b>foo </b>{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<b>foo&nbsp;</b> []bar",
+	[["delete",""]],
+	"<b>foo </b>{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<b>foo&nbsp;</b>&nbsp;[]bar",
+	[["delete",""]],
+	"<b>foo </b>{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<b>foo </b> []bar",
+	[["delete",""]],
+	"<b>foo[]</b>bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo </p><p>[] bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo </p><p>[] bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<pre>foo &nbsp;[]</pre>",
+	[["delete",""]],
+	"<pre>foo []</pre>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<pre>&nbsp;[] foo</pre>",
+	[["delete",""]],
+	"<pre>{} foo</pre>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<pre>foo &nbsp;[]bar</pre>",
+	[["delete",""]],
+	"<pre>foo []bar</pre>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<pre>foo&nbsp; []bar</pre>",
+	[["delete",""]],
+	"<pre>foo&nbsp;[]bar</pre>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<pre>foo  []bar</pre>",
+	[["delete",""]],
+	"<pre>foo []bar</pre>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre>foo &nbsp;[]</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre\">foo []</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre>&nbsp;[] foo</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre\">{} foo</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre>foo &nbsp;[]bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre\">foo []bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre>foo&nbsp; []bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre\">foo&nbsp;[]bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre>foo  []bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre\">foo []bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-wrap>foo &nbsp;[]</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-wrap\">foo []</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-wrap>&nbsp;[] foo</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-wrap\">{} foo</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-wrap>foo &nbsp;[]bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-wrap\">foo []bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-wrap>foo&nbsp; []bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-wrap\">foo&nbsp;[]bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-wrap>foo  []bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-wrap\">foo []bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-line>foo &nbsp;[]</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-line\">foo&nbsp;[]</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-line>&nbsp;[] foo</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-line\">{}&nbsp;foo</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-line>foo &nbsp;[]bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-line\">foo []bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-line>foo&nbsp; []bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-line\">foo []bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:pre-line>foo  []bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:pre-line\">foo[]bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:nowrap>foo &nbsp;[]</div>",
+	[["delete",""]],
+	"<div style=\"white-space:nowrap\">foo&nbsp;[]</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:nowrap>&nbsp;[] foo</div>",
+	[["delete",""]],
+	"<div style=\"white-space:nowrap\">{}&nbsp;foo</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:nowrap>foo &nbsp;[]bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:nowrap\">foo []bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:nowrap>foo&nbsp; []bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:nowrap\">foo []bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div style=white-space:nowrap>foo  []bar</div>",
+	[["delete",""]],
+	"<div style=\"white-space:nowrap\">foo[]bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<table><tr><td>[]bar</table>baz",
+	[["delete",""]],
+	"foo<table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<table><tr><td>bar</table>[]baz",
+	[["delete",""]],
+	"foo{<table><tbody><tr><td>bar</td></tr></tbody></table>}baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<table><tr><td>[]bar</table><p>baz",
+	[["delete",""]],
+	"<p>foo</p><table><tbody><tr><td>[]bar</td></tr></tbody></table><p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<table><tr><td>bar</table><p>[]baz",
+	[["delete",""]],
+	"<p>foo</p>{<table><tbody><tr><td>bar</td></tr></tbody></table>}<p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tr><td>foo<td>[]bar</table>",
+	[["delete",""]],
+	"<table><tbody><tr><td>foo</td><td>{}bar</td></tr></tbody></table>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tr><td>foo<tr><td>[]bar</table>",
+	[["delete",""]],
+	"<table><tbody><tr><td>foo</td></tr><tr><td>{}bar</td></tr></tbody></table>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<br><table><tr><td>[]bar</table>baz",
+	[["delete",""]],
+	"foo<table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<table><tr><td>bar<br></table>[]baz",
+	[["delete",""]],
+	"foo{<table><tbody><tr><td>bar<br></td></tr></tbody></table>}baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<br><table><tr><td>[]bar</table><p>baz",
+	[["delete",""]],
+	"<p>foo<br></p><table><tbody><tr><td>[]bar</td></tr></tbody></table><p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<table><tr><td>bar<br></table><p>[]baz",
+	[["delete",""]],
+	"<p>foo</p>{<table><tbody><tr><td>bar<br></td></tr></tbody></table>}<p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tr><td>foo<br><td>[]bar</table>",
+	[["delete",""]],
+	"<table><tbody><tr><td>foo</td><td>{}bar</td></tr></tbody></table>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tr><td>foo<br><tr><td>[]bar</table>",
+	[["delete",""]],
+	"<table><tbody><tr><td>foo</td></tr><tr><td>{}bar</td></tr></tbody></table>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<br><br><table><tr><td>[]bar</table>baz",
+	[["delete",""]],
+	"foo<br><br><table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<table><tr><td>bar<br><br></table>[]baz",
+	[["delete",""]],
+	"foo{<table><tbody><tr><td>bar<br><br></td></tr></tbody></table>}baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<br><br><table><tr><td>[]bar</table><p>baz",
+	[["delete",""]],
+	"<p>foo<br><br></p><table><tbody><tr><td>[]bar</td></tr></tbody></table><p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<table><tr><td>bar<br><br></table><p>[]baz",
+	[["delete",""]],
+	"<p>foo</p>{<table><tbody><tr><td>bar<br><br></td></tr></tbody></table>}<p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tr><td>foo<br><br><td>[]bar</table>",
+	[["delete",""]],
+	"<table><tbody><tr><td>foo<br><br></td><td>{}bar</td></tr></tbody></table>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tr><td>foo<br><br><tr><td>[]bar</table>",
+	[["delete",""]],
+	"<table><tbody><tr><td>foo<br><br></td></tr><tr><td>{}bar</td></tr></tbody></table>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<hr><table><tr><td>[]bar</table>baz",
+	[["delete",""]],
+	"foo<hr><table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<table><tr><td>bar<hr></table>[]baz",
+	[["delete",""]],
+	"foo{<table><tbody><tr><td>bar<hr></td></tr></tbody></table>}baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tr><td>foo<hr><td>[]bar</table>",
+	[["delete",""]],
+	"<table><tbody><tr><td>foo<hr></td><td>{}bar</td></tr></tbody></table>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tr><td>foo<hr><tr><td>[]bar</table>",
+	[["delete",""]],
+	"<table><tbody><tr><td>foo<hr></td></tr><tr><td>{}bar</td></tr></tbody></table>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<ol><li>[]bar<li>baz</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<div>[]bar</div><ol><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<ol><li>[]bar<li>baz</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<p>[]bar</p><ol><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<br><ol><li>[]bar<li>baz</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<div>[]bar</div><ol><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<br><ol><li>[]bar<li>baz</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<p>[]bar</p><ol><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<br><br><ol><li>[]bar<li>baz</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<br><br><div>[]bar</div><ol><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<br><br><ol><li>[]bar<li>baz</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<br><br><p>[]bar</p><ol><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[]bar</ol>",
+	[["delete",""]],
+	"<ol><li>foo<br>[]bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br><li>[]bar</ol>",
+	[["delete",""]],
+	"<ol><li>foo<br>[]bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br><br><li>[]bar</ol>",
+	[["delete",""]],
+	"<ol><li>foo<br><br>[]bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li>[]bar<br>baz</ol>",
+	[["delete",""]],
+	"<ol><li>foo<br>[]bar<br>baz</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br>bar<li>[]baz</ol>",
+	[["delete",""]],
+	"<ol><li>foo<br>bar<br>[]baz</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li><p>foo</p>{}bar</ol>",
+	[["delete",""]],
+	"<ol><li><p>foo{}bar</p></li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li><p>foo<li>[]bar</ol>",
+	[["delete",""]],
+	"<ol><li><p>foo</p>[]bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li><p>[]bar</ol>",
+	[["delete",""]],
+	"<ol><li>foo<p>[]bar</p></li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li><p>foo<li><p>[]bar</ol>",
+	[["delete",""]],
+	"<ol><li><p>foo</p><p>[]bar</p></li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<ul><li>[]bar</ul></ol>",
+	[["delete",""]],
+	"<ol><li>foo</li><li>[]bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<ol><ol><li>[]bar</ol></ol>",
+	[["delete",""]],
+	"foo<ol><li>[]bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<div><ol><li>[]bar</ol></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<div><div>[]bar</div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<div><ol><li>[]bar</ol></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<div><p>[]bar</p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<dl><dt>[]bar<dd>baz</dl>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<div>[]bar</div><dl><dd>baz</dd></dl>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<dl><dt>[]bar<dd>baz</dl>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<p>[]bar</p><dl><dd>baz</dd></dl>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<dl><dd>[]bar</dl>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<div>[]bar</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<dl><dd>[]bar</dl>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<p>[]bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<dl><dt>foo<dd>[]bar</dl>",
+	[["delete",""]],
+	"<dl><dt>foo<br>[]bar</dt></dl>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<dl><dt>foo<dt>[]bar<dd>baz</dl>",
+	[["delete",""]],
+	"<dl><dt>foo<br>[]bar</dt><dd>baz</dd></dl>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<dl><dt>foo<dd>bar<dd>[]baz</dl>",
+	[["delete",""]],
+	"<dl><dt>foo</dt><dd>bar<br>[]baz</dd></dl>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol>[]bar",
+	[["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br></ol>[]bar",
+	[["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br><br></ol>[]bar",
+	[["delete",""]],
+	"<ol><li>foo<br>{}bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li><br></ol>[]bar",
+	[["delete",""]],
+	"<ol><li>{}bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li><br></ol>[]bar",
+	[["delete",""]],
+	"<ol><li>foo</li><li>{}bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br></ol><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br></ol><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br><br></ol><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo<br>{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br><br></ol><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo<br>{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li><br></ol><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li><br></ol><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li><br></ol><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo</li><li>{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li><br></ol><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo</li><li>{}bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol>{}<br>",
+	[["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br></ol>{}<br>",
+	[["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br><br></ol>{}<br>",
+	[["delete",""]],
+	"<ol><li>foo<br>{}<br></li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li><br></ol>{}<br>",
+	[["delete",""]],
+	"<ol><li>{}<br></li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li><br></ol>{}<br>",
+	[["delete",""]],
+	"<ol><li>foo</li><li>{}<br></li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>{}<br>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>{}<br>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br></ol><p>{}<br>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br></ol><p>{}<br>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo{}</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br><br></ol><p>{}<br>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo<br>{}<br></li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<br><br></ol><p>{}<br>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo<br>{}<br></li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li><br></ol><p>{}<br>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>{}<br></li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li><br></ol><p>{}<br>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>{}<br></li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li><br></ol><p>{}<br>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo</li><li>{}<br></li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo<li><br></ol><p>{}<br>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo</li><li>{}<br></li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote>[]bar</blockquote>",
+	[["delete",""]],
+	"foo<br>[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><blockquote>[]bar</blockquote></blockquote>",
+	[["delete",""]],
+	"foo<blockquote>[]bar</blockquote>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><div>[]bar</div></blockquote>",
+	[["delete",""]],
+	"foo<div>[]bar</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<blockquote style=\"color: blue\">[]bar</blockquote>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<div style=\"color:rgb(0, 0, 255)\">[]bar</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote style=\"color: blue\">[]bar</blockquote>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<div style=\"color:rgb(0, 0, 255)\">[]bar</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><blockquote><p>[]bar<p>baz</blockquote></blockquote>",
+	[["delete",""]],
+	"foo<blockquote><p>[]bar</p><blockquote><p>baz</p></blockquote></blockquote>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><div><p>[]bar<p>baz</div></blockquote>",
+	[["delete",""]],
+	"foo<div><p>[]bar</p><blockquote><p>baz</p></blockquote></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<blockquote style=\"color: blue\"><p>[]bar<p>baz</blockquote>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<div style=\"color:rgb(0, 0, 255)\"><p>[]bar</p><blockquote><p>baz</p></blockquote></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote style=\"color: blue\"><p>[]bar<p>baz</blockquote>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<div style=\"color:rgb(0, 0, 255)\"><p>[]bar</p><blockquote><p>baz</p></blockquote></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><p><b>[]bar</b><p>baz</blockquote>",
+	[["delete",""]],
+	"foo<p><b>[]bar</b></p><blockquote><p>baz</p></blockquote>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><p><strong>[]bar</strong><p>baz</blockquote>",
+	[["delete",""]],
+	"foo<p><strong>[]bar</strong></p><blockquote><p>baz</p></blockquote>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><p><span>[]bar</span><p>baz</blockquote>",
+	[["delete",""]],
+	"foo<p><span>[]bar</span></p><blockquote><p>baz</p></blockquote>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><ol><li>[]bar</ol></blockquote><p>extra",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<blockquote><div>[]bar</div></blockquote><p>extra</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><ol><li>[]bar</ol></blockquote><p>extra",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<blockquote><p>[]bar</p></blockquote><p>extra</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote>bar<ol><li>[]baz</ol>quz</blockquote><p>extra",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<blockquote>bar<div>[]baz</div>quz</blockquote><p>extra</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote>bar<ol><li>[]baz</ol>quz</blockquote><p>extra",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<blockquote>bar<p>[]baz</p>quz</blockquote><p>extra</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<blockquote><ol><li>bar</li><ol><li>[]baz</ol><li>quz</ol></blockquote><p>extra",
+	[["delete",""]],
+	"foo<blockquote><ol><li>bar</li><li>[]baz</li><li>quz</li></ol></blockquote><p>extra</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<span></span>[]bar",
+	[["delete",""]],
+	"fo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<span><span></span></span>[]bar",
+	[["delete",""]],
+	"fo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<quasit></quasit>[]bar",
+	[["delete",""]],
+	"fo[]bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<br><span></span>[]bar",
+	[["delete",""]],
+	"foo{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span>foo<span></span></span>[]bar",
+	[["delete",""]],
+	"<span>fo[]</span>bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<span></span><span>[]bar</span>",
+	[["delete",""]],
+	"fo[]<span>bar</span>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<div><div><p>[]bar</div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<div><div><p>[]bar</div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<div><div><p><!--abc-->[]bar</div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<div><div><p><!--abc-->[]bar</div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<div><div><!--abc--><p>[]bar</div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<div><div><!--abc--><p>[]bar</div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<div><!--abc--><div><p>[]bar</div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<div><!--abc--><div><p>[]bar</div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<!--abc--><div><div><p>[]bar</div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<!--abc--><div><div><p>[]bar</div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</div></div>[]bar",
+	[["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</div></div><!--abc-->[]bar",
+	[["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</div><!--abc--></div>[]bar",
+	[["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p><!--abc--></div></div>[]bar",
+	[["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo<!--abc--></div></div>[]bar",
+	[["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo<!--abc--></p></div></div><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo<!--abc--></p></div></div><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p><!--abc--></div></div><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p><!--abc--></div></div><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div><!--abc--></div><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div><!--abc--></div><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><!--abc--><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><!--abc--><div><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><div><!--abc--><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><div><!--abc--><div><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><div><div><!--abc--><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><div><div><!--abc--><div>[]bar</div></div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><div><div><div><!--abc-->[]bar</div></div></div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><div><p>foo</p></div></div><div><div><div><!--abc-->[]bar</div></div></div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><div><p>foo{}bar</p></div></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo{}</span>bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p><font color=\"#0000ff\">foo{}</font>bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo{}</span>bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p><font color=\"#0000ff\">foo{}</font>bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p style=color:brown>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<font color=\"#a52a2a\">bar</font></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p style=color:brown>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<font color=\"#a52a2a\">bar</font></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p style=color:rgba(0,0,255,1)>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p style=color:rgba(0,0,255,1)>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p style=color:rgba(0,0,255,1)>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<p style=color:rgba(0,0,255,1)>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:transparent>foo<p style=color:rgba(0,0,0,0)>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"color:rgba(0, 0, 0, 0)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:transparent>foo<p style=color:rgba(0,0,0,0)>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"color:rgba(0, 0, 0, 0)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:transparent>foo<p style=color:rgba(0,0,0,0)>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"color:rgba(0, 0, 0, 0)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:transparent>foo<p style=color:rgba(0,0,0,0)>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"color:rgba(0, 0, 0, 0)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=color:brown>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<font color=\"#a52a2a\">bar</font></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=color:brown>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<font color=\"#a52a2a\">bar</font></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><font color=blue>foo</font><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><font color=\"blue\">foo</font>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><font color=blue>foo</font><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><font color=\"blue\">foo</font>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><font color=blue>foo</font><p><font color=brown>[]bar</font>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><font color=\"blue\">foo</font>{}<font color=\"brown\">bar</font></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><font color=blue>foo</font><p><font color=brown>[]bar</font>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><font color=\"blue\">foo</font>{}<font color=\"brown\">bar</font></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p><font color=brown>[]bar</font>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<font color=\"brown\">bar</font></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p><font color=brown>[]bar</font>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<font color=\"brown\">bar</font></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><span style=color:blue>foo</font><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo</span>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><span style=color:blue>foo</font><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo</span>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><span style=color:blue>foo</font><p><span style=color:brown>[]bar</font>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo</span>{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><span style=color:blue>foo</font><p><span style=color:brown>[]bar</font>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo</span>{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p><span style=color:brown>[]bar</font>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p><span style=color:brown>[]bar</font>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=background-color:aqua>foo<p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=background-color:aqua>foo<p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=background-color:aqua>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=background-color:aqua>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=background-color:aqua>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=background-color:aqua>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"background-color:rgb(0, 255, 255)\">foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=background-color:tan>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><span style=background-color:aqua>foo</font><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">foo</span>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><span style=background-color:aqua>foo</font><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">foo</span>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><span style=background-color:aqua>foo</font><p><span style=background-color:tan>[]bar</font>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">foo</span>{}<span style=\"background-color:rgb(210, 180, 140)\">bar</span></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><span style=background-color:aqua>foo</font><p><span style=background-color:tan>[]bar</font>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><span style=\"background-color:rgb(0, 255, 255)\">foo</span>{}<span style=\"background-color:rgb(210, 180, 140)\">bar</span></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p><span style=background-color:tan>[]bar</font>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<span style=\"background-color:rgb(210, 180, 140)\">bar</span></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p><span style=background-color:tan>[]bar</font>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<span style=\"background-color:rgb(210, 180, 140)\">bar</span></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=text-decoration:underline>foo<p>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p><span style=\"text-decoration:underline\">foo{}</span>bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=text-decoration:underline>foo<p>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p><u>foo{}</u>bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=text-decoration:underline>foo<p>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p><span style=\"text-decoration:underline\">foo{}</span>bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=text-decoration:underline>foo<p>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p><u>foo{}</u>bar</p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p><span style=\"text-decoration:underline\">foo{}</span><span style=\"text-decoration:line-through\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p><u>foo{}</u><s>bar</s></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p><span style=\"text-decoration:underline\">foo{}</span><span style=\"text-decoration:line-through\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=text-decoration:underline>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p><u>foo{}</u><s>bar</s></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<span style=\"text-decoration:line-through\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<s>bar</s></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<span style=\"text-decoration:line-through\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p style=text-decoration:line-through>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<s>bar</s></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><u>foo</u><p>[]bar",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><u>foo</u>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><u>foo</u><p>[]bar",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><u>foo</u>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><u>foo</u><p><s>[]bar</s>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><u>foo</u>{}<s>bar</s></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><u>foo</u><p><s>[]bar</s>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><u>foo</u>{}<s>bar</s></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p><s>[]bar</s>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<s>bar</s></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<p><s>[]bar</s>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<s>bar</s></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo</p>[]bar",
+	[["stylewithcss","true"],["delete",""]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">foo{}</span>bar</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo</p>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<p><font color=\"#0000ff\">foo{}</font>bar</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo<p style=color:brown>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}<font color=\"#a52a2a\">bar</font>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<p style=color:brown>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<p style=color:brown>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}<font color=\"#a52a2a\">bar</font>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div style=color:blue><p style=color:green>foo</div>[]bar",
+	[["stylewithcss","true"],["delete",""]],
+	"<div><p><span style=\"color:rgb(0, 128, 0)\">foo{}</span>bar</p></div>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<div style=color:blue><p style=color:green>foo</div>[]bar",
+	[["stylewithcss","false"],["delete",""]],
+	"<div><p><font color=\"#008000\">foo{}</font>bar</p></div>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<div style=\"color:rgb(0, 0, 255)\"><p style=\"color:rgb(0, 128, 0)\">foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p></div>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<div style=\"color:rgb(0, 0, 255)\"><p style=\"color:rgb(0, 128, 0)\">foo{}<font color=\"#a52a2a\">bar</font></p></div>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<div style=\"color:rgb(0, 0, 255)\"><p style=\"color:rgb(0, 128, 0)\">foo{}<span style=\"color:rgb(165, 42, 42)\">bar</span></p></div>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div style=color:blue><p style=color:green>foo</div><p style=color:brown>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<div style=\"color:rgb(0, 0, 255)\"><p style=\"color:rgb(0, 128, 0)\">foo{}<font color=\"#a52a2a\">bar</font></p></div>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<div style=color:brown><p style=color:green>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<span style=\"color:rgb(0, 128, 0)\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<div style=color:brown><p style=color:green>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<font color=\"#008000\">bar</font></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<div style=color:brown><p style=color:green>[]bar",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<span style=\"color:rgb(0, 128, 0)\">bar</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p style=color:blue>foo<div style=color:brown><p style=color:green>[]bar",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p style=\"color:rgb(0, 0, 255)\">foo{}<font color=\"#008000\">bar</font></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo[bar]baz",
+	[["delete",""]],
+	"foo[]baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>[bar]</span>baz",
+	[["stylewithcss","true"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>[bar]</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>{bar}</span>baz",
+	[["stylewithcss","true"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>{bar}</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo{<span style=color:#aBcDeF>bar</span>}baz",
+	[["stylewithcss","true"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo{<span style=color:#aBcDeF>bar</span>}baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<p>[foo<span style=color:#aBcDeF>bar]</span>baz",
+	[["stylewithcss","true"],["delete",""]],
+	"<p>{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>[foo<span style=color:#aBcDeF>bar]</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<p>{foo<span style=color:#aBcDeF>bar}</span>baz",
+	[["stylewithcss","true"],["delete",""]],
+	"<p>{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>{foo<span style=color:#aBcDeF>bar}</span>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>{}baz</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>[bar</span>baz]",
+	[["stylewithcss","true"],["delete",""]],
+	"<p>foo{}</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>[bar</span>baz]",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>{bar</span>baz}",
+	[["stylewithcss","true"],["delete",""]],
+	"<p>foo{}</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>{bar</span>baz}",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz",
+	[["stylewithcss","true"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz",
+	[["stylewithcss","false"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","true"],["delete",""]],
+	"foo{}baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo<b>[bar]</b>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo<b>{bar}</b>baz",
+	[["stylewithcss","true"],["delete",""]],
+	"foo{}baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo<b>{bar}</b>baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","true"],["delete",""]],
+	"foo{}baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo{<b>bar</b>}baz",
+	[["stylewithcss","false"],["delete",""]],
+	"foo{}baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo<span>[bar]</span>baz",
+	[["delete",""]],
+	"foo{}baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<span>{bar}</span>baz",
+	[["delete",""]],
+	"foo{}baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo{<span>bar</span>}baz",
+	[["delete",""]],
+	"foo{}baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<b>foo[bar</b><i>baz]quz</i>",
+	[["delete",""]],
+	"<b>foo[]</b><i>quz</i>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><p>[bar]</p><p>baz</p>",
+	[["delete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><p>{bar}</p><p>baz</p>",
+	[["delete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo</p><p>{bar</p>}<p>baz</p>",
+	[["delete",""]],
+	"<p>foo</p><p>{}<br></p><p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo</p>{<p>bar}</p><p>baz</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo</p>{}<br><p>baz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo</p>{<p>bar}</p><p>baz</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo</p>{}<br><p>baz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo</p>{<p>bar</p>}<p>baz</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo</p>{}<p>baz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo</p>{<p>bar</p>}<p>baz</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo</p>{}<p>baz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<p>baz]quz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<p>baz]quz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<div>baz]quz</div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<div>baz]quz</div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}quz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<h1>baz]quz</h1>",
+	[["delete",""]],
+	"<p>foo{}quz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div>foo[bar</div><p>baz]quz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div>foo{}quz</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div>foo[bar</div><p>baz]quz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div>foo{}quz</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<blockquote>foo[bar</blockquote><pre>baz]quz</pre>",
+	[["delete",""]],
+	"<blockquote>foo{}quz</blockquote>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p><b>foo[bar</b><p>baz]quz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p><b>foo</b>{}quz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p><b>foo[bar</b><p>baz]quz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p><b>foo</b>{}quz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo[bar</div><p>baz]quz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><p>foo{}quz</p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo[bar</div><p>baz]quz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><p>foo{}quz</p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<blockquote><p>baz]quz<p>qoz</blockquote",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}quz</p><blockquote><p>qoz</p></blockquote>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<blockquote><p>baz]quz<p>qoz</blockquote",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}quz</p><blockquote><p>qoz</p></blockquote>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<p style=color:blue>baz]quz",
+	[["stylewithcss","true"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<span style=\"color:rgb(0, 0, 255)\">quz</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<p style=color:blue>baz]quz",
+	[["stylewithcss","false"],["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<font color=\"#0000ff\">quz</font></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<p style=color:blue>baz]quz",
+	[["stylewithcss","true"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<span style=\"color:rgb(0, 0, 255)\">quz</span></p>",
+	[true,true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<p style=color:blue>baz]quz",
+	[["stylewithcss","false"],["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<font color=\"#0000ff\">quz</font></p>",
+	[true,true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<p><b>baz]quz</b>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}<b>quz</b></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[bar<p><b>baz]quz</b>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}<b>quz</b></p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo<p>[bar<p>baz]</div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<div><p>foo</p><p>{}<br></p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo<p>[bar<p>baz]</div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<div><p>foo</p><p>{}<br></p></div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo[<br>]bar",
+	[["delete",""]],
+	"foo{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo[</p><p>]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[</p><p>]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[</p><p>]bar<br>baz</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar<br>baz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[</p><p>]bar<br>baz</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar<br>baz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo[<p>]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo[<p>]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo{<p>}bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo{<p>}bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo[<p>]bar<br>baz</p>",
+	[["delete",""]],
+	"foo{}bar<p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo[<p>]bar</p>baz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar<br>baz",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo[<p>]bar</p>baz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar<br>baz",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo{<p>bar</p>}baz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}baz",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo{<p>bar</p>}baz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}baz",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<p>{bar</p>}baz",
+	[["delete",""]],
+	"foo<p>{}baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo{<p>bar}</p>baz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}<br>baz",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo{<p>bar}</p>baz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}<br>baz",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo[</p>]bar",
+	[["delete",""]],
+	"<p>foo{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo{</p>}bar",
+	[["delete",""]],
+	"<p>foo{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo[</p>]bar<br>baz",
+	[["delete",""]],
+	"<p>foo{}bar</p>baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo[</p>]bar<p>baz</p>",
+	[["delete",""]],
+	"<p>foo{}bar</p><p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo[<div><p>]bar</div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo[<div><p>]bar</div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<div><p>foo[</p></div>]bar",
+	[["delete",""]],
+	"<div><p>foo{}bar</p></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo[<div><p>]bar</p>baz</div>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar<div>baz</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo[<div><p>]bar</p>baz</div>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar<div>baz</div>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo[<div>]bar<p>baz</p></div>",
+	[["delete",""]],
+	"foo{}bar<div><p>baz</p></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div><p>foo</p>bar[</div>]baz",
+	[["delete",""]],
+	"<div><p>foo</p>bar{}baz</div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div>foo<p>bar[</p></div>]baz",
+	[["delete",""]],
+	"<div>foo<p>bar{}baz</p></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<br>{</p>]bar",
+	[["delete",""]],
+	"<p>foo{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<br><br>{</p>]bar",
+	[["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<br>{<p>]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<br>{<p>]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["foo<br><br>{<p>]bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"foo<br>{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["foo<br><br>{<p>]bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"foo<br>{}bar",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br>{</p><p>}bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br>{</p><p>}bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br><br>{</p><p>}bar</p>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<br><br>{</p><p>}bar</p>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo<br>{}bar</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<table><tbody><tr><th>foo<th>[bar]<th>baz<tr><td>quz<td>qoz<td>qiz</table>",
+	[["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>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tbody><tr><th>foo<th>ba[r<th>b]az<tr><td>quz<td>qoz<td>qiz</table>",
+	[["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>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tbody><tr><th>fo[o<th>bar<th>b]az<tr><td>quz<td>qoz<td>qiz</table>",
+	[["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>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tbody><tr><th>foo<th>bar<th>ba[z<tr><td>q]uz<td>qoz<td>qiz</table>",
+	[["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>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tbody><tr><th>[foo<th>bar<th>baz]<tr><td>quz<td>qoz<td>qiz</table>",
+	[["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>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tbody><tr><th>[foo<th>bar<th>baz<tr><td>quz<td>qoz<td>qiz]</table>",
+	[["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>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["{<table><tbody><tr><th>foo<th>bar<th>baz<tr><td>quz<td>qoz<td>qiz</table>}",
+	[["delete",""]],
+	"{}<br>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<table><tbody><tr><td>foo<td>ba[r<tr><td>baz<td>quz<tr><td>q]oz<td>qiz</table>",
+	[["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>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>fo[o<table><tr><td>b]ar</table><p>baz",
+	[["delete",""]],
+	"<p>fo[]</p><table><tbody><tr><td>ar</td></tr></tbody></table><p>baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<table><tr><td>ba[r</table><p>b]az",
+	[["delete",""]],
+	"<p>foo</p><table><tbody><tr><td>ba[]</td></tr></tbody></table><p>az</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>fo[o<table><tr><td>bar</table><p>b]az",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>fo{}az</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>fo[o<table><tr><td>bar</table><p>b]az",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>fo{}az</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<ol><li>ba[r<li>b]az</ol><p>quz",
+	[["delete",""]],
+	"<p>foo</p><ol><li>ba{}az</li></ol><p>quz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<ol><li>bar<li>[baz]</ol><p>quz",
+	[["delete",""]],
+	"<p>foo</p><ol><li>bar</li><li>{}<br></li></ol><p>quz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>fo[o<ol><li>b]ar<li>baz</ol><p>quz",
+	[["delete",""]],
+	"<p>fo{}ar</p><ol><li>baz</li></ol><p>quz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>foo<ol><li>bar<li>ba[z</ol><p>q]uz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>foo</p><ol><li>bar</li><li>ba{}uz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>foo<ol><li>bar<li>ba[z</ol><p>q]uz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>foo</p><ol><li>bar</li><li>ba{}uz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p>fo[o<ol><li>bar<li>b]az</ol><p>quz",
+	[["delete",""]],
+	"<p>fo{}az</p><p>quz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>fo[o<ol><li>bar<li>baz</ol><p>q]uz",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<p>fo{}uz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<p>fo[o<ol><li>bar<li>baz</ol><p>q]uz",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<p>fo{}uz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>fo[o</ol><ol><li>b]ar</ol>",
+	[["delete",""]],
+	"<ol><li>fo{}ar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>fo[o</ol><ul><li>b]ar</ul>",
+	[["delete",""]],
+	"<ol><li>fo{}ar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo[<ol><li>]bar</ol>",
+	[["delete",""]],
+	"foo{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo[<li>]bar</ol>",
+	[["delete",""]],
+	"<ol><li>foo{}bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo[<dl><dt>]bar<dd>baz</dl>",
+	[["delete",""]],
+	"foo{}bar<dl><dd>baz</dd></dl>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo[<dl><dd>]bar</dl>",
+	[["delete",""]],
+	"foo{}bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<dl><dt>foo[<dd>]bar</dl>",
+	[["delete",""]],
+	"<dl><dt>foo{}bar</dt></dl>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<dl><dt>foo[<dt>]bar<dd>baz</dl>",
+	[["delete",""]],
+	"<dl><dt>foo{}bar</dt><dd>baz</dd></dl>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<dl><dt>foo<dd>bar[<dd>]baz</dl>",
+	[["delete",""]],
+	"<dl><dt>foo</dt><dd>bar{}baz</dd></dl>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<b>foo [&nbsp;</b>bar]",
+	[["delete",""]],
+	"<b>foo&nbsp;[]</b>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo<b> [&nbsp;bar]</b>",
+	[["delete",""]],
+	"foo<b>&nbsp;[]</b>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<b>[foo&nbsp;] </b>bar",
+	[["delete",""]],
+	"<b>{}&nbsp;</b>bar",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["[foo<b>&nbsp;] bar</b>",
+	[["delete",""]],
+	"{}<b>&nbsp;bar</b>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p style=display:inline>fo[o<p style=display:inline>b]ar",
+	[["delete",""]],
+	"<p style=\"display:inline\">fo[]</p><p style=\"display:inline\">ar</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span style=display:block>fo[o</span><span style=display:block>b]ar</span>",
+	[["stylewithcss","true"],["delete",""]],
+	"<span style=\"display:block\">fo{}ar</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<span style=display:block>fo[o</span><span style=display:block>b]ar</span>",
+	[["stylewithcss","false"],["delete",""]],
+	"<span style=\"display:block\">fo{}ar</span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<span style=display:inline-block>fo[o</span><span style=display:inline-block>b]ar</span>",
+	[["delete",""]],
+	"<span style=\"display:inline-block\">fo[]</span><span style=\"display:inline-block\">ar</span>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span style=display:inline-table>fo[o</span><span style=display:inline-table>b]ar</span>",
+	[["delete",""]],
+	"<span style=\"display:inline-table\">fo[]</span><span style=\"display:inline-table\">ar</span>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<span style=display:none>fo[o</span><span style=display:none>b]ar</span>",
+	[["delete",""]],
+	"<span style=\"display:none\">fo[]</span><span style=\"display:none\">ar</span>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<quasit style=display:block>fo[o</quasit><quasit style=display:block>b]ar</quasit>",
+	[["stylewithcss","true"],["delete",""]],
+	"<quasit style=\"display:block\">fo{}ar</quasit>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<quasit style=display:block>fo[o</quasit><quasit style=display:block>b]ar</quasit>",
+	[["stylewithcss","false"],["delete",""]],
+	"<quasit style=\"display:block\">fo{}ar</quasit>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol>{}<br><ol><li>bar</ol>",
+	[["delete",""]],
+	"<ol><li>foo{}</li><li>bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>{}<br></p><ol><li>bar</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo{}</li><li>bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>{}<br></p><ol><li>bar</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo{}</li><li>bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li><p>foo</ol><p>{}<br></p><ol><li>bar</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li><p>foo{}</p></li><li>bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li><p>foo</ol><p>{}<br></p><ol><li>bar</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li><p>foo{}</p></li><li>bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol id=a><li>foo</ol>{}<br><ol><li>bar</ol>",
+	[["delete",""]],
+	"<ol id=\"a\"><li>foo{}</li><li>bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol>{}<br><ol id=b><li>bar</ol>",
+	[["delete",""]],
+	"<ol><li>foo{}</li><li>bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol id=a><li>foo</ol>{}<br><ol id=b><li>bar</ol>",
+	[["delete",""]],
+	"<ol id=\"a\"><li>foo{}</li><li>bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol class=a><li>foo</ol>{}<br><ol class=b><li>bar</ol>",
+	[["delete",""]],
+	"<ol class=\"a\"><li>foo{}</li><li>bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><ol><li>foo</ol><li>{}<br></li><ol><li>bar</ol></ol>",
+	[["delete",""]],
+	"<ol><ol><li>foo{}</li><li>bar</li></ol></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo[</ol>bar]<ol><li>baz</ol>",
+	[["delete",""]],
+	"<ol><li>foo{}</li><li>baz</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo[</ol><p>bar]<ol><li>baz</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo{}</li><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo[</ol><p>bar]<ol><li>baz</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo{}</li><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li><p>foo[</ol><p>bar]<ol><li>baz</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li><p>foo{}</p></li><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li><p>foo[</ol><p>bar]<ol><li>baz</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li><p>foo{}</p></li><li>baz</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo[]</ol><ol><li>bar</ol>",
+	[["delete",""]],
+	"<ol><li>fo[]</li></ol><ol><li>bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol>[bar<ol><li>]baz</ol>",
+	[["delete",""]],
+	"<ol><li>foo</li></ol>{}baz",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>[bar<ol><li>]baz</ol>",
+	[["delete",""]],
+	"<ol><li>foo</li></ol><p>{}baz</p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>[bar<ol><li><p>]baz</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo</li></ol><p>{}baz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>[bar<ol><li><p>]baz</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo</li></ol><p>{}baz</p>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><ol><li>b[]ar</ol>",
+	[["delete",""]],
+	"<ol><li>foo</li></ol><ol><li>{}ar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><ol><li>foo[</ol><li>bar</ol>baz]<ol><li>quz</ol>",
+	[["delete",""]],
+	"<ol><ol><li>foo{}</li></ol><li>quz</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ul><li>foo</ul>{}<br><ul><li>bar</ul>",
+	[["delete",""]],
+	"<ul><li>foo{}</li><li>bar</li></ul>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ul><li>foo</ul><p>{}<br></p><ul><li>bar</ul>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ul><li>foo{}</li><li>bar</li></ul>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ul><li>foo</ul><p>{}<br></p><ul><li>bar</ul>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ul><li>foo{}</li><li>bar</li></ul>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo[<li>bar]</ol><ol><li>baz</ol><ol><li>quz</ol>",
+	[["delete",""]],
+	"<ol><li>foo{}</li><li>baz</li><li>quz</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol>{}<br><ul><li>bar</ul>",
+	[["delete",""]],
+	"<ol><li>foo{}</li></ol><ul><li>bar</li></ul>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>{}<br></p><ul><li>bar</ul>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ol><li>foo{}</li></ol><ul><li>bar</li></ul>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ol><li>foo</ol><p>{}<br></p><ul><li>bar</ul>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ol><li>foo{}</li></ol><ul><li>bar</li></ul>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<ul><li>foo</ul>{}<br><ol><li>bar</ol>",
+	[["delete",""]],
+	"<ul><li>foo{}</li></ul><ol><li>bar</li></ol>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<ul><li>foo</ul><p>{}<br></p><ol><li>bar</ol>",
+	[["defaultparagraphseparator","div"],["delete",""]],
+	"<ul><li>foo{}</li></ul><ol><li>bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"delete":[false,false,"",false,false,""]}],
+["<ul><li>foo</ul><p>{}<br></p><ol><li>bar</ol>",
+	[["defaultparagraphseparator","p"],["delete",""]],
+	"<ul><li>foo{}</li></ul><ol><li>bar</li></ol>",
+	[true,true],
+	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"delete":[false,false,"",false,false,""]}],
+["<p><b>[foo]</b>",
+	[["delete",""]],
+	"<p><b>{}<br></b></p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p><quasit>[foo]</quasit>",
+	[["delete",""]],
+	"<p><quasit>{}<br></quasit></p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p><b><i>[foo]</i></b>",
+	[["delete",""]],
+	"<p><b><i>{}<br></i></b></p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p><b>{foo}</b>",
+	[["delete",""]],
+	"<p><b>{}<br></b></p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p>{<b>foo</b>}",
+	[["delete",""]],
+	"<p><b>{}<br></b></p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<p><b>f[]</b>",
+	[["delete",""]],
+	"<p><b>{}<br></b></p>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<b>[foo]</b>",
+	[["delete",""]],
+	"<b>{}<br></b>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["<div><b>[foo]</b></div>",
+	[["delete",""]],
+	"<div><b>{}<br></b></div>",
+	[true],
+	{"delete":[false,false,"",false,false,""]}],
+["foo[]bar",
+	[["fontname","sans-serif"]],
+	"foo[]bar",
+	[true],
+	{"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<p><span style=\"font-family:sans-serif\">[foo</span></p> <p><span style=\"font-family:sans-serif\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<p><font face=\"sans-serif\">[foo</font></p> <p><font face=\"sans-serif\">bar]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<span style=\"font-family:sans-serif\"><span>[foo</span> <span>bar]</span></span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<font face=\"sans-serif\"><span>[foo</span> <span>bar]</span></font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<p><span style=\"font-family:sans-serif\">[foo</span></p><p> <span style=\"font-family:sans-serif\"><span>bar</span></span> </p><p><span style=\"font-family:sans-serif\">baz]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<p><font face=\"sans-serif\">[foo</font></p><p> <font face=\"sans-serif\"><span>bar</span></font> </p><p><font face=\"sans-serif\">baz]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"<p><span style=\"font-family:sans-serif\">[foo</span></p><p><span style=\"font-family:sans-serif\"><br></span></p><p><span style=\"font-family:sans-serif\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<p><font face=\"sans-serif\">[foo</font></p><p><font face=\"sans-serif\"><br></font></p><p><font face=\"sans-serif\">bar]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<b>foo[]bar</b>",
+	[["fontname","sans-serif"]],
+	"<b>foo[]bar</b>",
+	[true],
+	{"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<i>foo[]bar</i>",
+	[["fontname","sans-serif"]],
+	"<i>foo[]bar</i>",
+	[true],
+	{"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<span>foo</span>{}<span>bar</span>",
+	[["fontname","sans-serif"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[true],
+	{"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<span>foo[</span><span>]bar</span>",
+	[["fontname","sans-serif"]],
+	"<span>foo[</span><span>]bar</span>",
+	[true],
+	{"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar</span><b><span style=\"font-family:sans-serif\">baz]</span>qoz</b>quz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar</font><b><font face=\"sans-serif\">baz]</font>qoz</b>quz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar</span><i><span style=\"font-family:sans-serif\">baz]</span>qoz</i>quz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar</font><i><font face=\"sans-serif\">baz]</font>qoz</i>quz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"{<p></p><p> </p><p><span style=\"font-family:sans-serif\">foo</span></p>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"{<p></p><p> </p><p><font face=\"sans-serif\">foo</font></p>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"<table><tbody><tr><td>foo</td><td>b<font face=\"sans-serif\">[a]</font>r</td><td>baz</td></tr></tbody></table>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["foo<code>[bar]</code>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<code><span style=\"font-family:sans-serif\">[bar]</span></code>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<code>[bar]</code>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<code><font face=\"sans-serif\">[bar]</font></code>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<kbd>[bar]</kbd>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<kbd><span style=\"font-family:sans-serif\">[bar]</span></kbd>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<kbd>[bar]</kbd>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<kbd><font face=\"sans-serif\">[bar]</font></kbd>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<listing>[bar]</listing>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<listing><span style=\"font-family:sans-serif\">[bar]</span></listing>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<listing>[bar]</listing>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<listing><font face=\"sans-serif\">[bar]</font></listing>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<pre>[bar]</pre>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<pre><span style=\"font-family:sans-serif\">[bar]</span></pre>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<pre>[bar]</pre>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<pre><font face=\"sans-serif\">[bar]</font></pre>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<samp>[bar]</samp>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<samp><span style=\"font-family:sans-serif\">[bar]</span></samp>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<samp>[bar]</samp>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<samp><font face=\"sans-serif\">[bar]</font></samp>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<tt>[bar]</tt>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt><span style=\"font-family:sans-serif\">[bar]</span></tt>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<tt>[bar]</tt>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt><font face=\"sans-serif\">[bar]</font></tt>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<code>b[a]r</code>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<code>b<font face=\"sans-serif\">[a]</font>r</code>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<kbd>b[a]r</kbd>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<kbd>b<font face=\"sans-serif\">[a]</font>r</kbd>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<listing>b[a]r</listing>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<listing>b<font face=\"sans-serif\">[a]</font>r</listing>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<pre>b[a]r</pre>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<pre>b<font face=\"sans-serif\">[a]</font>r</pre>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<samp>b[a]r</samp>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<samp>b<font face=\"sans-serif\">[a]</font>r</samp>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<tt>b[a]r</tt>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt>b<font face=\"sans-serif\">[a]</font>r</tt>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["[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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}],
+["foo<span style=\"font-family: sans-serif\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}],
+["foo<span style=\"font-family: sans-serif\">b[a]r</span>baz",
+	[["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">b[a]r</span>baz",
+	[true],
+	{"fontname":[false,false,"sans-serif",false,false,"sans-serif"]}],
+["foo<span style=\"font-family: monospace\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<span style=\"font-family: monospace\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<tt contenteditable=false>ba[r</tt>b]az",
+	[["fontname","sans-serif"]],
+	"foo<tt contenteditable=\"false\">ba[r</tt>b]az",
+	[false],
+	{"fontname":[false,false,"serif",false,false,"serif"]}],
+["fo[o<tt contenteditable=false>b]ar</tt>baz",
+	[["fontname","sans-serif"]],
+	"fo[o<tt contenteditable=\"false\">b]ar</tt>baz",
+	[false],
+	{"fontname":[false,false,"serif",false,false,"serif"]}],
+["foo<tt>{}<br></tt>bar",
+	[["fontname","sans-serif"]],
+	"foo<tt>{}<br></tt>bar",
+	[true],
+	{"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<tt>{<br></tt>}bar",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<tt>{<span style=\"font-family:sans-serif\"><br></span></tt>}bar",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<tt>{<br></tt>}bar",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<tt>{<font face=\"sans-serif\"><br></font></tt>}bar",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["fo[o<span style=font-family:monospace>bar</span>b]az",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"fo<font face=\"sans-serif\">[obarb]</font>az",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo[<span style=font-family:monospace>bar</span>]baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo[<span style=\"font-family:sans-serif\">bar</span>]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo[<span style=font-family:monospace>bar</span>]baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo[<font face=\"sans-serif\">bar</font>]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<span style=font-family:monospace>[bar]</span>baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo<span style=\"font-family:sans-serif\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo<span style=font-family:monospace>[bar]</span>baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo<font face=\"sans-serif\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo{<span style=font-family:monospace>bar</span>}baz",
+	[["stylewithcss","true"],["fontname","sans-serif"]],
+	"foo{<span style=\"font-family:sans-serif\">bar}</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo{<span style=font-family:monospace>bar</span>}baz",
+	[["stylewithcss","false"],["fontname","sans-serif"]],
+	"foo{<font face=\"sans-serif\">bar}</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[true,false,"serif",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"monospace",false,false,"sans-serif"]}],
+["foo[]bar",
+	[["fontsize","4"]],
+	"foo[]bar",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"4"]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<p><span style=\"font-size:large\">[foo</span></p> <p><span style=\"font-size:large\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<p><font size=\"4\">[foo</font></p> <p><font size=\"4\">bar]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<span style=\"font-size:large\"><span>[foo</span> <span>bar]</span></span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"4\"><span>[foo</span> <span>bar]</span></font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<p><span style=\"font-size:large\">[foo</span></p><p> <span style=\"font-size:large\"><span>bar</span></span> </p><p><span style=\"font-size:large\">baz]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<p><font size=\"4\">[foo</font></p><p> <font size=\"4\"><span>bar</span></font> </p><p><font size=\"4\">baz]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<p><span style=\"font-size:large\">[foo</span></p><p><br></p><p><span style=\"font-size:large\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",true,false,"4"]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<p><font size=\"4\">[foo</font></p><p><br></p><p><font size=\"4\">bar]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",true,false,"4"]}],
+["<b>foo[]bar</b>",
+	[["fontsize","4"]],
+	"<b>foo[]bar</b>",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"4"]}],
+["<i>foo[]bar</i>",
+	[["fontsize","4"]],
+	"<i>foo[]bar</i>",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"4"]}],
+["<span>foo</span>{}<span>bar</span>",
+	[["fontsize","4"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"4"]}],
+["<span>foo[</span><span>]bar</span>",
+	[["fontsize","4"]],
+	"<span>foo[</span><span>]bar</span>",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar</span><b><span style=\"font-size:large\">baz]</span>qoz</b>quz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar</font><b><font size=\"4\">baz]</font>qoz</b>quz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar</span><i><span style=\"font-size:large\">baz]</span>qoz</i>quz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar</font><i><font size=\"4\">baz]</font>qoz</i>quz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"{<p></p><p> </p><p><span style=\"font-size:large\">foo</span></p>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"{<p></p><p> </p><p><font size=\"4\">foo</font></p>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1"]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","0"]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","0"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","-5"]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","-5"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","6"]],
+	"foo<span style=\"font-size:xx-large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"6"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","6"]],
+	"foo<font size=\"6\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"6"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","7"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","7"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","8"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","8"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","100"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","100"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}],
+["foo[bar]baz",
+	[["fontsize","2em"]],
+	"foo[bar]baz",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"3"]}],
+["foo[bar]baz",
+	[["fontsize","20pt"]],
+	"foo[bar]baz",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"3"]}],
+["foo[bar]baz",
+	[["fontsize","xx-large"]],
+	"foo[bar]baz",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"3"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize"," 1 "]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize"," 1 "]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["fontsize","1."]],
+	"foo[bar]baz",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"3"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1.0"]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1.0"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1.0e2"]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1.0e2"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1.1"]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1.1"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","1.9"]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","1.9"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["fontsize","+0"]],
+	"foo[bar]baz",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"3"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","+1"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","+1"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","+9"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"7"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","+9"]],
+	"foo<font size=\"7\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"7"]}],
+["foo[bar]baz",
+	[["fontsize","-0"]],
+	"foo[bar]baz",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"3"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","-1"]],
+	"foo<span style=\"font-size:small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"2"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","-1"]],
+	"foo<font size=\"2\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"2"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["fontsize","-9"]],
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["fontsize","-9"]],
+	"foo<font size=\"1\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"1"]}],
+["foo[bar]baz",
+	[["fontsize",""]],
+	"foo[bar]baz",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"3"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<table><tbody><tr><td>foo</td><td>b<font size=\"4\">[a]</font>r</td><td>baz</td></tr></tbody></table>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo<font size=1>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["foo<font size=1>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["<font size=1>foo[bar]baz</font>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"1\">foo<span style=\"font-size:large\">[bar]</span>baz</font>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["<font size=1>foo[bar]baz</font>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"1\">foo<font size=\"4\">[bar]</font>baz</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["foo<font size=3>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo<font size=3>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<font size=3>foo[bar]baz</font>",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"<font size=\"3\">foo<span style=\"font-size:large\">[bar]</span>baz</font>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<font size=3>foo[bar]baz</font>",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"<font size=\"3\">foo<font size=\"4\">[bar]</font>baz</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo<font size=4>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}],
+["foo<font size=4>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}],
+["<font size=4>foo[bar]baz</font>",
+	[["fontsize","4"]],
+	"<font size=\"4\">foo[bar]baz</font>",
+	[true],
+	{"fontsize":[false,false,"4",false,false,"4"]}],
+["foo<font size=+1>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}],
+["foo<font size=+1>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}],
+["<font size=+1>foo[bar]baz</font>",
+	[["fontsize","4"]],
+	"<font size=\"+1\">foo[bar]baz</font>",
+	[true],
+	{"fontsize":[false,false,"4",false,false,"4"]}],
+["<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:x-small\">b</span>[a]<span style=\"font-size:x-small\">r</span>baz</font>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["foo<span style=\"font-size: xx-small\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["foo<span style=\"font-size: xx-small\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["foo<span style=\"font-size: medium\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo<span style=\"font-size: medium\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["foo<span style=\"font-size: large\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"4"]}],
+["foo<span style=\"font-size: large\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"4"]}],
+["<span style=\"font-size: large\">foo[bar]baz</span>",
+	[["fontsize","4"]],
+	"<span style=\"font-size:large\">foo[bar]baz</span>",
+	[true],
+	{"fontsize":[false,false,"4",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["<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<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</span>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["foo<span style=\"font-size: 2em\">[bar]</span>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}],
+["foo<span style=\"font-size: 2em\">[bar]</span>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<p style=\"font-size: large\">foo[bar]baz</p>",
+	[["fontsize","4"]],
+	"<p style=\"font-size:large\">foo[bar]baz</p>",
+	[true],
+	{"fontsize":[false,false,"4",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"1",false,false,"3"]}],
+["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"<p><span style=\"font-size:xx-small\">foo</span>[bar]<span style=\"font-size:xx-small\">baz</span></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"1",false,false,"3"]}],
+["<p style=\"font-size: medium\">foo[bar]baz</p>",
+	[["fontsize","3"]],
+	"<p style=\"font-size:medium\">foo[bar]baz</p>",
+	[true],
+	{"fontsize":[false,false,"3",false,false,"3"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"3"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"3"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"7",false,false,"3"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"7",false,false,"3"]}],
+["foo<big>[bar]</big>baz",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"foo<big><span style=\"font-size:medium\">[bar]</span></big>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}],
+["foo<big>[bar]</big>baz",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"foo<big><font size=\"3\">[bar]</font></big>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}],
+["foo<big>b[a]r</big>baz",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"foo<big>b<span style=\"font-size:medium\">[a]</span>r</big>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"4",false,false,"3"]}],
+["foo<big>b[a]r</big>baz",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"foo<big>b<font size=\"3\">[a]</font>r</big>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"4",false,false,"3"]}],
+["foo<small>[bar]</small>baz",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"foo<small><span style=\"font-size:medium\">[bar]</span></small>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"3"]}],
+["foo<small>[bar]</small>baz",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"foo<small><font size=\"3\">[bar]</font></small>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"3"]}],
+["foo<small>b[a]r</small>baz",
+	[["stylewithcss","true"],["fontsize","3"]],
+	"foo<small>b<span style=\"font-size:medium\">[a]</span>r</small>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"3"]}],
+["foo<small>b[a]r</small>baz",
+	[["stylewithcss","false"],["fontsize","3"]],
+	"foo<small>b<font size=\"3\">[a]</font>r</small>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"3"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"3",false,false,"4"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"3",false,false,"4"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"2",false,false,"4"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"2",false,false,"4"]}],
+["fo[o<font size=2>bar</font>b]az",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"fo<span style=\"font-size:large\">[obarb]</span>az",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"3",false,false,"4"]}],
+["fo[o<font size=2>bar</font>b]az",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"fo<font size=\"4\">[obarb]</font>az",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"3",false,false,"4"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["foo[<font size=2>b]ar</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo[<font size=\"2\"><font size=\"4\">b]</font>ar</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["foo<font size=2>ba[r</font>]baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"2\">ba<font size=\"4\">[r</font></font>]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["foo[<font size=2>bar</font>]baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo[<span style=\"font-size:large\">bar</span>]baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["foo[<font size=2>bar</font>]baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo[<font size=\"4\">bar</font>]baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["foo<font size=2>[bar]</font>baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo<span style=\"font-size:large\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["foo<font size=2>[bar]</font>baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo<font size=\"4\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["foo{<font size=2>bar</font>}baz",
+	[["stylewithcss","true"],["fontsize","4"]],
+	"foo{<span style=\"font-size:large\">bar}</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["foo{<font size=2>bar</font>}baz",
+	[["stylewithcss","false"],["fontsize","4"]],
+	"foo{<font size=\"4\">bar}</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[true,false,"1",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[true,false,"1",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"2",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<font size=4>fo[o</font><span style=font-size:large>b]ar</span>",
+	[["fontsize","4"]],
+	"<font size=\"4\">fo[o</font><span style=\"font-size:large\">b]ar</span>",
+	[true],
+	{"fontsize":[false,false,"4",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"5",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"5",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"6",false,false,"4"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"6",false,false,"4"]}],
+["foo[]bar",
+	[["forecolor","#0000FF"]],
+	"foo[]bar",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">[foo</span></p> <p><span style=\"color:rgb(0, 0, 255)\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<p>[foo</p> <p>bar]</p>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<p><font color=\"#0000ff\">[foo</font></p> <p><font color=\"#0000ff\">bar]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\"><span>[foo</span> <span>bar]</span></span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\"><span>[foo</span> <span>bar]</span></font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">[foo</span></p><p> <span style=\"color:rgb(0, 0, 255)\"><span>bar</span></span> </p><p><span style=\"color:rgb(0, 0, 255)\">baz]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<p><font color=\"#0000ff\">[foo</font></p><p> <font color=\"#0000ff\"><span>bar</span></font> </p><p><font color=\"#0000ff\">baz]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<p><span style=\"color:rgb(0, 0, 255)\">[foo</span></p><p><span style=\"color:rgb(0, 0, 255)\"><br></span></p><p><span style=\"color:rgb(0, 0, 255)\">bar]</span></p>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<p>[foo<p><br><p>bar]",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<p><font color=\"#0000ff\">[foo</font></p><p><font color=\"#0000ff\"><br></font></p><p><font color=\"#0000ff\">bar]</font></p>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<b>foo[]bar</b>",
+	[["forecolor","#0000FF"]],
+	"<b>foo[]bar</b>",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<i>foo[]bar</i>",
+	[["forecolor","#0000FF"]],
+	"<i>foo[]bar</i>",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span>foo</span>{}<span>bar</span>",
+	[["forecolor","#0000FF"]],
+	"<span>foo</span>{}<span>bar</span>",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span>foo[</span><span>]bar</span>",
+	[["forecolor","#0000FF"]],
+	"<span>foo[</span><span>]bar</span>",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar</span><b><span style=\"color:rgb(0, 0, 255)\">baz]</span>qoz</b>quz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar<b>baz]qoz</b>quz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar</font><b><font color=\"#0000ff\">baz]</font>qoz</b>quz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar<i>baz]qoz</i>quz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar</font><i><font color=\"#0000ff\">baz]</font>qoz</i>quz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"{<p></p><p> </p><p><span style=\"color:rgb(0, 0, 255)\">foo</span></p>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["{<p><p> <p>foo</p>}",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"{<p></p><p> </p><p><font color=\"#0000ff\">foo</font></p>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","blue"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","blue"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["forecolor","f"]],
+	"foo[bar]baz",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
+["foo[bar]baz",
+	[["forecolor","#f"]],
+	"foo[bar]baz",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","00f"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","00f"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","#00f"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","#00f"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","0000ff"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","0000ff"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","#0000ff"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","#0000ff"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["forecolor","000000fff"]],
+	"foo[bar]baz",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
+["foo[bar]baz",
+	[["forecolor","#000000fff"]],
+	"foo[bar]baz",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgb(0, 0, 255)"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgb(0, 0, 255)"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgb(0%, 0%, 100%)"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgb(0%, 0%, 100%)"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgb( 0 ,0 ,255)"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgb( 0 ,0 ,255)"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgba(0, 0, 255, 0.0)"]],
+	"foo<span style=\"color:rgba(0, 0, 0, 0)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 255, 0)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgba(0, 0, 255, 0.0)"]],
+	"foo<span style=\"color:rgba(0, 0, 0, 0)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 255, 0)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgb(15, -10, 375)"]],
+	"foo<span style=\"color:rgb(15, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(15, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgb(15, -10, 375)"]],
+	"foo<font color=\"#0f00ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(15, 0, 255)"]}],
+["foo[bar]baz",
+	[["forecolor","rgba(0, 0, 0, 1)"]],
+	"foo[bar]baz",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","rgba(255, 255, 255, 1)"]],
+	"foo<span style=\"color:rgb(255, 255, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(255, 255, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","rgba(255, 255, 255, 1)"]],
+	"foo<font color=\"#ffffff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(255, 255, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 255, 0.5)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 255, 0.5)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","hsl(240, 100%, 50%)"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","hsl(240, 100%, 50%)"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","cornsilk"]],
+	"foo<span style=\"color:rgb(255, 248, 220)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(255, 248, 220)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","cornsilk"]],
+	"foo<font color=\"#fff8dc\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(255, 248, 220)"]}],
+["foo[bar]baz",
+	[["forecolor","potato quiche"]],
+	"foo[bar]baz",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
+["foo[bar]baz",
+	[["stylewithcss","true"],["forecolor","transparent"]],
+	"foo<span style=\"color:rgba(0, 0, 0, 0)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 0, 0)"]}],
+["foo[bar]baz",
+	[["stylewithcss","false"],["forecolor","transparent"]],
+	"foo<span style=\"color:rgba(0, 0, 0, 0)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgba(0, 0, 0, 0)"]}],
+["foo[bar]baz",
+	[["forecolor","currentColor"]],
+	"foo[bar]baz",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 0)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["{<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>}",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["foo<font color=blue>[bar]</font>baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo<span style=\"color:rgb(0, 0, 255)\">[bar]</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["foo<font color=blue>[bar]</font>baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo<font color=\"#0000ff\">[bar]</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["foo{<font color=blue>bar</font>}baz",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"foo{<span style=\"color:rgb(0, 0, 255)\">bar}</span>baz",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["foo{<font color=blue>bar</font>}baz",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"foo{<font color=\"#0000ff\">bar}</font>baz",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<font color=blue>foo<font color=brown>[bar]</font>baz</font>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<font color=\"blue\">foo[bar]baz</font>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<font color=blue>foo<font color=brown>[bar]</font>baz</font>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"blue\">foo[bar]baz</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(165, 42, 42)",false,false,"rgb(0, 0, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[true,false,"rgb(128, 0, 128)",false,false,"rgb(0, 0, 255)"]}],
+["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",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[true,false,"rgb(128, 0, 128)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(128, 0, 128)",false,false,"rgb(0, 0, 255)"]}],
+["<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>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(128, 0, 128)",false,false,"rgb(0, 0, 255)"]}],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["forecolor","blue"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["forecolor","#0000ff"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<a href=http://www.google.com>foo[bar]baz</a>",
+	[["forecolor","rgb(0,0,255)"]],
+	"<a href=\"http://www.google.com\">foo[bar]baz</a>",
+	[true],
+	{"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<font color=\"blue\">[foo]</font>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<font color=\"blue\">[foo]</font>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<font color=\"0000ff\">[foo]</font>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<font color=\"0000ff\">[foo]</font>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<font color=\"#0000ff\">[foo]</font>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<font color=\"#0000ff\">[foo]</font>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: blue\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: blue\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: #0000ff\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: #0000ff\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgb(0, 0, 255)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgb(0, 0, 255)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgb(0%, 0%, 100%)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgb(0%, 0%, 100%)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgb( 0 ,0 ,255)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgb( 0 ,0 ,255)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgba(0, 0, 255, 0.0)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgba(0, 0, 255, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgba(0, 0, 255, 0.0)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgba(0, 0, 255, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgb(15, -10, 375)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(15, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgb(15, -10, 375)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(15, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgba(0, 0, 0, 1)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgba(0, 0, 0, 1)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgba(255, 255, 255, 1)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(255, 255, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgba(255, 255, 255, 1)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(255, 255, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgba(0, 0, 255, 0.5)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgba(0, 0, 255, 0.5)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: rgba(0, 0, 255, 0.5)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgba(0, 0, 255, 0.5)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: hsl(240, 100%, 50%)\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: hsl(240, 100%, 50%)\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 255)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: cornsilk\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(255, 248, 220)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: cornsilk\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(255, 248, 220)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: transparent\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: transparent\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: currentColor\">[foo]</span>",
+	[["stylewithcss","true"],["forecolor","#0000FF"]],
+	"<span style=\"color:rgb(0, 0, 255)\">[foo]</span>",
+	[true,true],
+	{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span style=\"color: currentColor\">[foo]</span>",
+	[["stylewithcss","false"],["forecolor","#0000FF"]],
+	"<font color=\"#0000ff\">[foo]</font>",
+	[true,true],
+	{"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["fo[o<font color=brown>b]ar</font>baz",
+	[["stylewithcss",&