--- a/conformancetest/data.js Sun May 20 06:30:28 2012 -0600
+++ b/conformancetest/data.js Wed May 23 02:27:16 2012 -0600
@@ -16225,6 +16225,21 @@
[true],
{"inserttext":[false,false,"",false,false,""]}],
["foo[]bar",
+ [["inserttext","<b>hi</b>"]],
+ "foo<b>hi</b>[]bar",
+ [true],
+ {"inserttext":[false,false,"",false,false,""]}],
+["foo[]bar",
+ [["inserttext","<"]],
+ "foo<[]bar",
+ [true],
+ {"inserttext":[false,false,"",false,false,""]}],
+["foo[]bar",
+ [["inserttext","&"]],
+ "foo&amp;[]bar",
+ [true],
+ {"inserttext":[false,false,"",false,false,""]}],
+["foo[]bar",
[["inserttext"," "]],
"foo []bar",
[true],
--- a/tests.js Sun May 20 06:30:28 2012 -0600
+++ b/tests.js Wed May 23 02:27:16 2012 -0600
@@ -2478,6 +2478,10 @@
['abc\ndef', 'foo[]bar'],
['\x07', 'foo[]bar'],
+ ['<b>hi</b>', 'foo[]bar'],
+ ['<', 'foo[]bar'],
+ ['&', 'foo[]bar'],
+
// http://www.w3.org/Bugs/Public/show_bug.cgi?id=14254
['!\r', 'foo[]bar'],
['!\r\n', 'foo[]bar'],