--- a/conformancetest/data.js Thu Sep 15 15:18:48 2011 -0600
+++ b/conformancetest/data.js Thu Sep 15 16:25:32 2011 -0600
@@ -1207,86 +1207,166 @@
[["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>",
{"stylewithcss":[null,false,null,null,true,null],"bold":[false,false,null,false,true,null]}],
+["foo[]bar",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "foo[]bar",
+ {"stylewithcss":[null,true,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<span>foo</span>{}<span>bar</span>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<span>foo</span>{}<span>bar</span>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<span>foo[</span><span>]bar</span>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<span>foo[</span><span>]bar</span>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["foo[bar]baz",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["foo]bar[baz",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "foo<a href=\"http://www.google.com/\">[bar]</a>baz",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<table><tbody><tr><td>foo</td><td>b<a href=\"http://www.google.com/\">[a]</a>r</td><td>baz</td></tr></tbody></table>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<table><tbody><tr><td>foo</td>{<td><a href=\"http://www.google.com/\">bar</a></td>}<td>baz</td></tr></tbody></table>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<table><tbody><tr>{<td><a href=\"http://www.google.com/\">foo</a></td><td><a href=\"http://www.google.com/\">bar</a></td>}<td>baz</td></tr></tbody></table>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<table><tbody>{<tr><td><a href=\"http://www.google.com/\">foo</a></td><td><a href=\"http://www.google.com/\">bar</a></td><td><a href=\"http://www.google.com/\">baz</a></td></tr>}</tbody></table>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<table>{<tbody><tr><td><a href=\"http://www.google.com/\">foo</a></td><td><a href=\"http://www.google.com/\">bar</a></td><td><a href=\"http://www.google.com/\">baz</a></td></tr></tbody>}</table>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["{<table><tr><td>foo<td>bar<td>baz</table>}",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "{<table><tbody><tr><td><a href=\"http://www.google.com/\">foo</a></td><td><a href=\"http://www.google.com/\">bar</a></td><td><a href=\"http://www.google.com/\">baz</a></td></tr></tbody></table>}",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=http://www.google.com/>foo[bar]baz</a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\">foo[bar]baz</a>",
- {"stylewithcss":[null,true,null,null,false,null],"createlink":[false,null,"http://www.google.com/",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=http://www.google.com/>foo[barbaz</a>}",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\">foo[barbaz</a>}",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"http://www.google.com/",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["{<a href=http://www.google.com/>foobar]baz</a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"{<a href=\"http://www.google.com/\">foobar]baz</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"http://www.google.com/",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["{<a href=http://www.google.com/>foobarbaz</a>}",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"{<a href=\"http://www.google.com/\">foobarbaz}</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"http://www.google.com/",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=http://www.google.com/>[foobarbaz]</a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"http://www.google.com/",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["foo<a href=http://www.google.com/>[bar]</a>baz",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"http://www.google.com/",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["[foo]<a href=http://www.google.com/>bar</a>baz",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<a href=\"http://www.google.com/\">[foo]bar</a>baz",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["foo<a href=http://www.google.com/>bar</a>[baz]",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "foo<a href=\"http://www.google.com/\">bar[baz]</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["foo[<a href=http://www.google.com/>bar</a>]baz",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"foo[<a href=\"http://www.google.com/\">bar</a>]baz",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"http://www.google.com/",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["foo<a href=http://www.google.com/>[bar</a>baz]",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"foo<a href=\"http://www.google.com/\">[barbaz]</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[true,null,"http://www.google.com/",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["[foo<a href=http://www.google.com/>bar]</a>baz",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<a href=\"http://www.google.com/\">[foobar]</a>baz",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["[foo<a href=http://www.google.com/>bar</a>baz]",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=otherurl>foo[bar]baz</a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\">foo[bar]baz</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=otherurl>foo[barbaz</a>}",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\">foo[barbaz</a>}",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["{<a href=otherurl>foobar]baz</a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"{<a href=\"http://www.google.com/\">foobar]baz</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["{<a href=otherurl>foobarbaz</a>}",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"{<a href=\"http://www.google.com/\">foobarbaz}</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=otherurl>[foobarbaz]</a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\">[foobarbaz]</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["foo<a href=otherurl>[bar]</a>baz",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"foo<a href=\"http://www.google.com/\">[bar]</a>baz",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["foo[<a href=otherurl>bar</a>]baz",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"foo[<a href=\"http://www.google.com/\">bar</a>]baz",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["foo<a href=otherurl>[bar</a>baz]",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"foo<a href=\"http://www.google.com/\">[barbaz]</a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[true,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["[foo<a href=otherurl>bar]</a>baz",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<a href=\"http://www.google.com/\">[foobar]</a>baz",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["[foo<a href=otherurl>bar</a>baz]",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<a href=\"http://www.google.com/\">[foobarbaz]</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=otherurl><b>foo[bar]baz</b></a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\"><b>foo[bar]baz</b></a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=otherurl><b>foo[barbaz</b></a>}",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\"><b>foo[barbaz</b></a>}",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["{<a href=otherurl><b>foobar]baz</b></a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"{<a href=\"http://www.google.com/\"><b>foobar]baz</b></a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["<a href=otherurl><b>[foobarbaz]</b></a>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<a href=\"http://www.google.com/\"><b>[foobarbaz]</b></a>",
- {"stylewithcss":[null,false,null,null,false,null],"createlink":[false,null,"otherurl",false,null,"http://www.google.com/"]}],
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<a name=abc>foo[bar]baz</a>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<span name=\"abc\">foo<a href=\"http://www.google.com/\">[bar]</a>baz</span>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["<a name=abc><b>foo[bar]baz</b></a>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<span name=\"abc\"><b>foo<a href=\"http://www.google.com/\">[bar]</a>baz</b></span>",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
+["foo[bar]baz",
+ [["stylewithcss","false"],["createlink",""]],
+ "foo[bar]baz",
+ {"stylewithcss":[null,false,null,null,false,null],"createlink":[null,null,null,null,null,null]}],
["foo[]bar",
[["stylewithcss","false"],["delete",""]],
"fo[]bar",
@@ -15875,6 +15955,110 @@
[["stylewithcss","true"],["underline",""]],
"<span style=\"text-decoration:underline\">fo</span>[o<ins>b]ar</ins>",
{"stylewithcss":[null,false,null,null,true,null],"underline":[false,true,null,true,false,null]}],
+["foo[]bar",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[]bar",
+ {"stylewithcss":[null,true,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<span>foo</span>{}<span>bar</span>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<span>foo</span>{}<span>bar</span>",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<span>foo[</span><span>]bar</span>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<span>foo[</span><span>]bar</span>",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a href=http://www.google.com/>foo[bar]baz</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[bar]baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a href=http://www.google.com/>foo[barbaz</a>}",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[barbaz}",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["{<a href=http://www.google.com/>foobar]baz</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "{foobar]baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["{<a href=http://www.google.com/>foobarbaz</a>}",
+ [["stylewithcss","false"],["unlink",""]],
+ "{foobarbaz}",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a href=http://www.google.com/>[foobarbaz]</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "[foobarbaz]",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["foo<a href=http://www.google.com/>b[]ar</a>baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foob[]arbaz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["foo<a href=http://www.google.com/>[bar]</a>baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[bar]baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["foo[<a href=http://www.google.com/>bar</a>]baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[bar]baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["foo<a href=http://www.google.com/>[bar</a>baz]",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[barbaz]",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["[foo<a href=http://www.google.com/>bar]</a>baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "[foobar]baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["[foo<a href=http://www.google.com/>bar</a>baz]",
+ [["stylewithcss","false"],["unlink",""]],
+ "[foobarbaz]",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a id=foo href=http://www.google.com/>foobar[]baz</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<a id=\"foo\">foobar[]baz</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a id=foo href=http://www.google.com/>foo[bar]baz</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<a id=\"foo\">foo[bar]baz</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a id=foo href=http://www.google.com/>[foobarbaz]</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<a id=\"foo\">[foobarbaz]</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["foo<a id=foo href=http://www.google.com/>[bar]</a>baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo<a id=\"foo\">[bar]</a>baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["foo[<a id=foo href=http://www.google.com/>bar</a>]baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[<a id=\"foo\">bar</a>]baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["[foo<a id=foo href=http://www.google.com/>bar</a>baz]",
+ [["stylewithcss","false"],["unlink",""]],
+ "[foo<a id=\"foo\">bar</a>baz]",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a name=foo>foobar[]baz</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<a name=\"foo\">foobar[]baz</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a name=foo>foo[bar]baz</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<a name=\"foo\">foo[bar]baz</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["<a name=foo>[foobarbaz]</a>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<a name=\"foo\">[foobarbaz]</a>",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["foo<a name=foo>[bar]</a>baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo<a name=\"foo\">[bar]</a>baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["foo[<a name=foo>bar</a>]baz",
+ [["stylewithcss","false"],["unlink",""]],
+ "foo[<a name=\"foo\">bar</a>]baz",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
+["[foo<a name=foo>bar</a>baz]",
+ [["stylewithcss","false"],["unlink",""]],
+ "[foo<a name=\"foo\">bar</a>baz]",
+ {"stylewithcss":[null,false,null,null,false,null],"unlink":[null,null,null,null,null,null]}],
["foo[bar]baz",
[["stylewithcss","false"],["selectall",""]],
"foo[bar]baz",
@@ -15916,6 +16100,10 @@
"foo<span style=\"background-color:rgb(0, 255, 255)\">a[]</span>bar",
{"backcolor":[false,null,"rgb(255, 255, 255)",false,null,"rgb(0, 255, 255)"],"inserttext":[null,null,null,null,null,null]}],
["foo[]bar",
+ [["createlink","http://www.google.com/"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"createlink":[null,null,null,null,null,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
[["fontname","sans-serif"],["inserttext","a"]],
"foo<font face=\"sans-serif\">a[]</font>bar",
{"fontname":[false,null,"serif",false,null,"sans-serif"],"inserttext":[null,null,null,null,null,null]}],
@@ -15940,6 +16128,54 @@
"foo<sup>a[]</sup>bar",
{"subscript":[false,false,null,false,false,null],"superscript":[false,false,null,false,true,null],"inserttext":[null,null,null,null,null,null]}],
["foo[]bar",
+ [["createlink","http://www.google.com/"],["forecolor","#0000FF"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"createlink":[null,null,null,null,null,null],"forecolor":[false,null,"rgb(0, 0, 0)",false,null,"rgb(0, 0, 255)"],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["forecolor","#0000FF"],["createlink","http://www.google.com/"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"forecolor":[false,null,"rgb(0, 0, 0)",false,null,"rgb(0, 0, 255)"],"createlink":[null,null,null,null,null,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["createlink","http://www.google.com/"],["forecolor","blue"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"createlink":[null,null,null,null,null,null],"forecolor":[false,null,"rgb(0, 0, 0)",false,null,"rgb(0, 0, 255)"],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["forecolor","blue"],["createlink","http://www.google.com/"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"forecolor":[false,null,"rgb(0, 0, 0)",false,null,"rgb(0, 0, 255)"],"createlink":[null,null,null,null,null,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["createlink","http://www.google.com/"],["forecolor","brown"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\"><font color=\"#a52a2a\">a[]</font></a>bar",
+ {"createlink":[null,null,null,null,null,null],"forecolor":[false,null,"rgb(0, 0, 0)",false,null,"rgb(165, 42, 42)"],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["forecolor","brown"],["createlink","http://www.google.com/"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\"><font color=\"#a52a2a\">a[]</font></a>bar",
+ {"forecolor":[false,null,"rgb(0, 0, 0)",false,null,"rgb(165, 42, 42)"],"createlink":[null,null,null,null,null,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["createlink","http://www.google.com/"],["forecolor","black"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\"><font color=\"#000000\">a[]</font></a>bar",
+ {"createlink":[null,null,null,null,null,null],"forecolor":[false,null,"rgb(0, 0, 0)",false,null,"rgb(0, 0, 0)"],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["forecolor","black"],["createlink","http://www.google.com/"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\"><font color=\"#000000\">a[]</font></a>bar",
+ {"forecolor":[false,null,"rgb(0, 0, 0)",false,null,"rgb(0, 0, 0)"],"createlink":[null,null,null,null,null,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["createlink","http://www.google.com/"],["underline",""],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"createlink":[null,null,null,null,null,null],"underline":[false,false,null,false,true,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["underline",""],["createlink","http://www.google.com/"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"underline":[false,false,null,false,true,null],"createlink":[null,null,null,null,null,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["createlink","http://www.google.com/"],["underline",""],["underline",""],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"createlink":[null,null,null,null,null,null],"underline":[false,false,null,false,true,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
+ [["underline",""],["underline",""],["createlink","http://www.google.com/"],["inserttext","a"]],
+ "foo<a href=\"http://www.google.com/\">a[]</a>bar",
+ {"underline":[false,false,null,false,true,null],"createlink":[null,null,null,null,null,null],"inserttext":[null,null,null,null,null,null]}],
+["foo[]bar",
[["subscript",""],["fontsize","2"],["inserttext","a"]],
"foo<sub>a[]</sub>bar",
{"subscript":[false,false,null,false,true,null],"fontsize":[false,null,"3",false,null,"2"],"inserttext":[null,null,null,null,null,null]}],