// For documentation of the format, see README in this directory. var browserTests = [
["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,""],"boldirectory.
[var browserTests = [
["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,""]}],
[<foo<p<rbar"
[["stylewithcss","false"foo]", "<p><b>[foo</b></p><p,
[true,true] {"old"[,,"false,"]],
{"":falsetrue",,alse,",bold:falsefalse,"false,,"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91 "b>oo[bar<b>"
[["bold",""]],
]bar/>,
[true],
{"bold":[false,true,"",false,false,""]}] {":false,,"false,"]"old:ff",t,"]] "<f[b<i>,
[["bold",""]], "<i>foo[]bar<"p<>foo/>/><>bbar<b>/"
[true], "old"[alsefalse",,rue,"},
["<span>foo</span>{}<span>["<span>[foo</span> <span>bar>"
["""], "<span>foo < style="ont-eightbold\>span[<span><panbar<span<span>,
[true],
{"bold":[false,false,"",false,java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91 "span>oo[<span>span>bar<>,
[["bold",""]], "<["stylewithcssf","""],
[true],
{"bold":[false,false,"",false,true," "b<span>[foo</span><span>bar]</span></b>",
["foo[ "stylewithcss":falsetrue,"",false,false,""],"bold":[false,false,"",false,true,""]}],
[stylewithcss","true"],["bold",""]], "foo<span style["stylewithcss","true"],["bold",""]],
[,,
{"stylewithcss":[false,false,"" [rue,rue]
[foobar],
[["stylewithcss","false"],["bold",""]], "foo<b"p[<> bar/java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 51
t,,
lewithcss[java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 91
["foo[bar<b>baz]qoz</b>quz",
[["bold""":falsetrue",alse,,]":falsefalse,"falsetrue,"},
[stylewithcss"][b,"]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
[]java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
{bold:true,alse,"f,,"},
["foo[bar<i>baz]qoz</i>quz",
[["stylewithcss","true"],["bold",""]], "foo< style="-b\>bar</<><spanstyle\fontweightbold\"baz<span></i>"java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 111 truetrue,
{"stylewithcss":[false,false,"",false,true,""],"bold true,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
["foo[bar<i>baz]qoz</i>quz",
[["stylewithcss","false"],["bold",""]], "foo<b>[bar</b><i><b>baz]</b>qoz</i>quz",
[["bold","],
{"stylewithcss":[false,true,"",java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 22
[{p<p p><p},
[["stylewithcss","true"],["bold",""]], "{<p></p><p> ["i[bar/>java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
[true, true] "{>p <>oo<p}"
[["span></span>{<pan><span>"java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
></p>}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 11 "< contenteditablefalse[<span>baz"
[[bold""], "foo<"<span>foo/span<]<>java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
[false],
{"bold":[java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 15
[foo=>b,
[["stylewithcss","true"],["\"[]" " java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 91
[true,true],
{"stylewithcss":[foobaz,
["fo[o<span contenteditable=false>bar</ [["stylewithcss","false"],["bold",""]]foob[]/>java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 25
[["stylewithcss","false""[>]<"java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28 "fo<b>[o</b><span java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28 true,
{"stylewithcss":[false"<pan style="ontbold>bar/<>s ="ont-b\"><span<java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 111 "contenteditable=falseba[<span>]"
[["bold",""]], ""[bar>bazqozi,
[false],
{"bold":[false,false,"["","][bold,"]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
[ [,]
["bold,"]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 "fo[o<span [stylewithcss,"true,"""]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
[,
{"bold":[false,false[truetrue,
[fo<bob<spancontenteditable>bar/<><azjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
["tylewithcss",true,"bold""], "fo[o<span contenteditable=\"false\">bar</span>b]az",
[true,true],
{"stylewithcss {p<p>p />p<<b>/>",
["fo[<b>o</b><span java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 16
[[""java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 43 "fo[o<span contenteditable=\"false\">bar</span>b]az",
[true]
{"stylewithcss" [bold,"]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
["<span contenteditable=false>foo false]
["""rue","","],
<contenteditable"\>span ="true"< style=\font-eight:old\>bar]/span>/>baz<span>,
[true,true],
{"stylewithcss":[java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 42
[" "osstyle\fontweightbold">o<span>span =\"false"bar<span>span style="weightbold>]/a",
["stylewithcss"java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 43 "fo[span =false>/b"java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
[true fob[<b<contenteditable"alse\>ar<span><>]/>az,
{"stylewithcss":[false [,rue,
["<span contenteditable{stylewithcss":[falsetrue",false"]"bold"[alsefalse",,rue,"},
[["bold",""]], "<span java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 18
{],
["=false>foo< =rue>a[<span>]z<span>",
[bold""], "<span contenteditable=\"false\">foo<span contenteditable=\"true ["""]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
[{"bold:falsefalse,,,false<spanb><b]"
{bold":false,,"falsef"]],
["<span contenteditable=false>fo[o<span contenteditable=true>b]ar</span>baz[ospan contenteditable=\"\>ar/>az,
[["bold",""]], "<span contenteditable ""[,false,",alsetrue",bold"[alsetrue",java.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 91
java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 12
{""f,false""false,false"]]java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
["<span contenteditable{"tylewithcss[alsetrue",f,",bold"[false,,"falsef"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[["bold","" [stylewithcss"","""], "<span contenteditable=\"false\">fo[<b>o<span contenteditable=\"true\">bar</span>b</b>]az</span>",
[,
{"bold":[false,true,"",false,true,""]}], "table<r>td>foo<>a<baz</table>,
[[ ["tylewithcss,false","old,"] "<table><tbody><tr><td>foo</td> [rue,true],
[true,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{stylewithcss:falsefalse,",java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 91
["<table><tbody><tr><td>foo< [","]],
[["stylewithcss","false"],["bold "span =\false"foos contenteditable=""bar/baz/>java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95 "<table><tbody><tr><td[< contenteditablefalse>oos =b[r/b<span>java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
[t,
{"stylewithcss":[false,
["<table><tbody><tr data-{"bold":[false,false,"",false"[false",alsef"]]
[["""","old""]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
><tr<>/{<td<style\fontweightbold\>ar/<td}td>baz/>/r</tbody>/>,
[true,true[alse]
{stylewithcss:,",,true,",[false,",alse,rue""]}java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
["<table><tbody"span =falsef[bospan =truebar<span><b>]z<span>,
[["stylewithcss","false"],["bold",""]],["bold",""]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 "table<><r><d>foo<td><d<bbar<b>/}td>baz<td>/tr>/tbody<table>"
[true,true],
{"stylewithcss":[falsefalse]
[data-end=2>tdfoo<>bartd><table"java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
[["tylewithcss,true","""]
["tylewithcss,true","bold""],
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
[<<tbody< datastart0 -2<ftdb<tdb<table>java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
[["stylewithcss"," [true,, "<table><tbody><tr>{<td "stylewithcss"[,"f,,"""[,java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 91
,
{""stylewithcss]"java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 43
[<java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 75
[["stylewithcss","true"],[ t,] "<><><style="<<<>="-weight:\">arspan>/<>span style\font-eightbold"baz<span>/>/>}<tbody>/table>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""[<able<< -= -=>td>footd><></>,
["< [["s","java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 42
["",false"]["bold""], "table>tbody><><d>bfoo<b>/td<<bb<><td<td>b>az<b>/>/>/tbody>/table>"
[true,true"[,,","",":false,alse,",alse,true"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
{,"",false,true,"},
["< [stylewithcss","false"],["bold",""]],
[["java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 91
<>tbody>tr<>span ="ont-:old\><span>/<>spanstyle\f-:old\><span>/>td<style="ont-:bold\">az/<td>/<tbody><table>,
[true,true],
{"stylewithcss[,true]
["<table data {stylewithcss"[alse"false,,"]""[false,alse,"false,rue,"},
[["stylewithcss","false[<>tbody>tr data-tart=0data-=>td>oo<>bartd>az<table>, "<table>{<tbody>< ["","true",","]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 16
{"[true,true,
[><d>footd>ar<db/>,
[["stylewithcss","true"],["bold",""]], "<<><><td<style\font-:old\></pan>/>td<pan style="weightbold\></<td>td>span style\font-bold\><span>/>/<tbody></>"java.lang.StringIndexOutOfBoundsException: Index 204 out of bounds for length 204
[ruet]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16 "java.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 91 "{<table><r>tdfoo<bar<>baz</table>"java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
[["stylewithcss","false"],["bold",""]], "{<table><tbody><tr[rue,rue]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
[true,rue,
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}], "table<><r>td<span ="weight:\>oo/<td<\font-b\><span><td>>style\font-:old\"baz<span>/>tr><tbody>/>"java.lang.StringIndexOutOfBoundsException: Index 204 out of bounds for length 204
[["stylewithcss{stylewithcss:f,alse,"falsetrue,",bold"[f,",alse,rue,""}, "foo[bar]baz",
[ruet,
{"stylewithcss":[false,false,"",false,true,""],"bold":[false, [stylewithcss"","old""], "s style=\font-weight:bold\>bar]/>baz",
[["stylewithcss" t,rue, "foo[bar]baz",
[rue,],
{"stylewithcss"[t -tart0dataend1<body>t>td>oot>barbaz/"java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
["foo<b> <><body>tr>td<pan =-weightbold\><span>/td><td><span style=\"font-weight:bold\">bar</span></td><td><span style=\"font-weight:bold\"
[["stylewithcss","true"], [stylewithcss,"rue],["bold","],
foob]baz,
[true,true],
{"stylewithcss":[false,false,"",java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 16
["foo<b>[bar]</b>baz",
[["stylewithcss","false"[<>tr>td><>ar<db</>}, "foo[bar]baz",
[rue,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{stylewithcss:false,",false,",bold:false,,",false,,"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
["foo< t,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
[[""], "foo<b>bar[baz]</b>",
[true],
{bold":false,,"falset,"}]
[ ["""rue"][b""],
[["bold",""]], "<b>[foo]bar<[rue,],
[true],
{"bold":[false,false,"",false,true,""]["oo<pan style=\font-:bold\>bar]>baz,
[<><b>bar]b>baz</>,
[["stylewithcss","true"],["bold",""]], "<b java.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 91
[["foo<b>[<bbazjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
{"[java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 18
["<b>foo</b>[bar]<b>baz</b>",
[[java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 43 "<b>foo[bar] ":false",false,alse,"]"old":true,false""},
[true,true],
{"stylewithcss":[false,true,"",false[b,"] // Should not use the near <strong> as alternative container of <b> and // <span style="font-weight: bold">.
["foo<strong>bar</strong>[baz]",
["old""], "foo<strong>bar</strong><b>baz</b>",
[true],
{:false,falsetrue,]]
["[foo]<java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 11
[["bold",""]],
<>foo<>bar/strong,
[true],
{[",true][b,"],
["<strong>foo</strong>[bar]<strong>baz</strong>",
[","], "<strong>foo</strong> [,rue,
[true],
,false",,,"},
["<b>foo</b>[bar]<strong>baz</strong>",
[["bold",""]], "b>bar]/>strong></strong>",
[true],
{"bold":[false,false,"","b>[]az<b"java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 // Should not use the near <b> as alternative container of // <span style="font-weight: bold">
["<strong>foo</strong>[bar]<// Should not use the near <strong> as alternative container of <b> and
[["stylewithcss","true"],["bold","[foo<trong>ar<strong>baz], "<strong>foo<[","]
ttrue],
{"java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 11 // Should use the near <b> as new container
["<strong>foo</strong>[bar[foo]strong>ar/>baz"java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
[[" <>oo<><b/>az, "<strong>foo</strong><b>java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 11
[true,true],
thcss[true",alse,false,",bold:falsefalse,"false,"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[foo<>barb],
[["stylewithcss","true"],["bold",""]], "foo[bar]baz,,"false"]]java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
[true,true],
{"stylewithcss":[false,false,"",false
["foo[<{bold"[alsefalse,",alset,"},
["foo<b>[bar</b>]baz", "foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["foo[<b>bar]</b>baz",
[["stylewithcss","true"],[""foo[]baz, "foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true [ruetrue],
["foo[<b>bar]</b>baz",
[["stylewithcss","false"],["bold",""]], "foo[bar]baz",
[true,true],
{"stylewithcss":[false,[foo<>/}", "foo<b>bar</b>baz",
[[" "foo{<b/b>}baz"java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22 "foo[bar]baz",
[[{i<i},
{"stylewithcss["""],
[foob[/>baz",
[["stylewithcss","false"],["bold",""]],
]"
[[<<>/>/>"
{"[,,"}java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
["foo{<b></b>}baz",
[bold,"]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 "foo{<b></b>}baz",
{"old":falsefalse,",t,"},
{"bold":[false,false,"",false,true,""]}],
["foo{<i></i>}baz",
[[bold""]
{bold"f,,"false,"}] true,
{"bold":[false,false,"",false,true,""]}],
["foo{<b><i></i></b>}java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 18
[["bold",""]],
foo{<b><>/i></b>baz,
[true],
{"bold"[foo<strong>ar<strong>baz",
[foo<i><b><b</i>}az,
[[" "foo[barfoo[bar]baz"java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 "foo{<i><b></b></i>} {"old"[false,true,",false,false,"]},
[rue],
{"bold":[java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
["foo<strong>[bar] "foobar]az,
["bold","], "oo[bar]",
[true],
{"bold":[false,true,"",false,false,""]}],
["foo[<"foo[<span style"-weight: bold\><span]az"
[bold""]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 "foo[bar]baz",
[true],
{"bold":[false,true,"",false,false,""]}],
["foo[<strong>bar]</strong>baz",
[["bold",""]], "foo[bar]baz", true,
{"bold": ["","false",["bold",]]
[ truet]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
[""""], "foo[bar]baz",
[true],
e",,alse,""]}],
["foo[<span style=\"font-weight: bold ["stylewithcss""rue",["bold",],
[["stylewithcss","true" t,true, "foo[bar]baz",
[true,true],
{s"[false,alse,"fjava.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
["foo[<span style=\"font-weight: bold\">bar<["stylewithcss""false"["","]
[[stylewithcss,f]["bold""]] "foo[bar]baz",
[true,true],
{""[t,"false,false,",bold":false,,"false"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[foo[spanstyle\font-eight bold\>ar<spanb"
[["stylewithcss","true"],["bold",""] [s"""][bold""], "foo[bar]baz",
[true,true],
{"stylewithcss":[false,false," "":falsefalse,"false,rue"]""[true",,,"},
["foo[<span style="spanstyle="weight bold\"bar</span]"
[[" [["stylewithcss","false"],["bold",""]], "foo[bar]baz",
[ f[baz,
{"stylewithcss":[false,true,"",false,false,""]," t,rue]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
["foo<span style=\"font-weight: bold\">[bar</span>]baz",
[["stylewithcss","true"],["bold",""]][b{p<ppbar<p><b<p<b"java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 "foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 16
["foo<span style=\"font-weight: bold\">[bar</span>]baz",
[["stylewithcss","false"],["bold",""]],
f[]"
[ [s,false",,], "java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 91
["<b>{<p>foo</p><p>bar</p>}<p>baz</p>ttrue] """[""]
{/>bar>p\f-java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 79
[true,true],
{java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 91
["<b>{<p>foo</p><p>bar</p>}<p>baz</p></b>",
[["stylewithcss","false"],["bold",""]], "<>foo<p<p>/}p<b>baz</b>/p",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
<>[bar}pjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 "]java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 42
="/>i><><>sstyle"-:\b<java.lang.StringIndexOutOfBoundsException: Range [113, 112) out of bounds for length 119
[true,true],
{"stylewithcss":[false,false,"",false, t], "b<>fooibar<i><p>pbaz<p>/>",
[["stylewithcss","false"],["bold",""]],
<>b>oo[bi>ar/}/<><b<b<p"java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
[true,true], ""f,",f"]"bold"[,rue",,alse,"}]
["foo [ [rue]
[bold,"] "foo <b>[["<b id=purple>b[baz]qoz<b"java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
[true],
{bold":true,,"falsetrue"]]java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
["foo bar <b>baz [qoz</b>{":[,alse"false,rue"]"old":false,true,"false,false,"]]
["old""]], "foo bar <b>baz [ [stylewithcss,false][bold,"]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
[,
{"bold":[true,false,"",false, true,, "b id=purple>bar[]qoz<b"java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
[["["foo<span style=\- 100"[<spanbaz,
<id\purple>span style="weight:"b<[]sstyle\fontweightb\>qoz/span<span>,
[true,true],
{"stylewithcss":[false,false,"", foospanstyle=font-:\>bar]spanbaz,
["<b id=purple>bar [baz] qoz</b>",
["tylewithcss"""],"bold""]], "<span id=\"purple\"><b>bar </b>[baz]<b> [foo<style="-:100\>bar<spanb,
[ruetrue,
{"stylewithcss":[false,true foo>bar]/>baz",
["foo<span style=\""stylewithcss":[false,,false",":[false,,true"},
[[stylewithcss "<pan ="-weightbold\>bar<b,
[true,true],
{"stylewithcss":[false,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 16
[fspan\f-weight \>bar<span>"java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
[["stylewithcss","false"],["bold",""]], "foo<b>[bar]</b>baz",
ttrue,
{"stylewithcss":[false,true"oo<>bar]<b>az"java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
ar]</span>baz,
[["stylewithcss","true"],["bold",""]],
fspan =\font-weight:"[]<span>",
[true,true],
{stylewithcss":falsefalse""false,true,""],"bold":[false,false,"",false,true,""]}],
["foo<span style=\"font-weight: 200\">[bar]</span>baz",
[["stylewithcss","false"],["bold",""]], "foo<b>[bar]</b>baz",
[]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
,],
["foo<span style=\"font-weight: 300{stylewithcss:[alse,alse,"false,,",bold:false,"false,"]]
[stylewithcss,t",","]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 "oo< style=\fweight:old\>bar]/span>java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 58
[true,true],
{"stylewithcss":[false,false,"", {"stylewithcss":[false,true,"",false,]"bold"[,,"falsetrue,"},
["foo<span style=\"font-[<span=font-eight600"bar]span>az", "],["bold,"] "b[bar]/b>baz"java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
["":[false",true,"]"":,rue",alse,false,"}],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 55
["foo<span style= "b]az,
[["stylewithcss","true"],["bold",""]], "foo<span style=\"font":false,,"false,,",bold"[alsetrue",f,"},
[true,true],
,,rue"]"old:false,alse",true,"},
["foo<span style=\"font-weight: 400\">[bar]</ ["""","""],
[["stylewithcss","java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 18 "foo<b>[bar]</b>baz ""[false,"false,:false,",,false,"]],
[true[foospanstyle\font-weight:700\>[<spanbaz,
{"stylewithcss": [[stylewithcss""][bold"]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
["foo<span true,rue]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
["","","bold""], "foo<span style=\"font-weight:bold\">[bar]</span>baz",
tt,
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
[spanstyle\"-weight:500\>b]/>"
[["stylewithcss","false"],["bold",""]], "foo<b>[bar]</b>baz",
[rue,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["foo<span style=\"font-weight: 600\">[bar]</span> ""[,rue,"false,,""]"bold":[false,true,"",false,false,""]}],
[["stylewithcss","true"],[" [["stylewithcss","true"],["bold]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 "foo[bar]baz",
[true,true],
,true,"",false,false,"]}],
["foo<span style=\"font-weight: 600\">[bar]</span>baz",
[["stylewithcss","false"],["bold",""]], "foo[bar]baz",
[true,rue,
{"stylewithcss":[false,true,"",false [t] "<pan =\"ontweight:700"[<span>",
[["stylewithcss","true"],["bold",""]], "foo[bar]baz",
[true,true],
{"stylewithcss" [stylewithcss,t][b,"]
["foo<span style=\" "foo<span style=\ "font-weight:bold"[ar<span],
[["stylewithcss","false"],["bold",""]], "foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,[foo<span style="-:400"[ar<>, "oo<pan style="-eight800\"></span>baz",
[["stylewithcss","java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 25 "foo[bar]baz",
[ruet]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16 ""[,",,true,",bold"[false,rue,"false,,"},
["foo<span style=\"font-weight: 800\">[ [stylewithcss,true",",],
[["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"], "foo[<b>ar]</b>baz", "foo[bar]baz",
[true,true],
{"stylewithcss":[false,false,"",false,true," "stylewithcss"[,rue",alse,false,"]"bold:false,",,true,"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
["foo<span style=\"font-weight: 900\">[ fbbaz,
[["stylewithcss","false"],["bold",""]], "foo[bar]baz",
[true,
{"stylewithcss":[false,true,"",false,false,""],"bold":[[foo< style=\font-: java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 58
["foo<span style=\"font-weight: 400\">[bar</span>]baz",
[stylewithcss""]"old""], "foo<java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 58
[true,true],
{"stylewithcss":[false,false,"",false,true,""{"tylewithcss"[alsetrue",f,",bold:false,alse,"falset"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[foospan ="ont-: 400"[<>baz,
[["stylewithcss","false"],["bold",""]], " "foobar]az,
t]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{stylewithcss:falsetrue,"false,false,",bold":false,,",alsetrue,]],
["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, foobb,
[foo<panstyle\font-weight: 700\>bar<>]"
[["{"stylewithcss[,rue,"falsef"]""[,,",alse,alse""] "span ="ontweight \">foo[bar]az<span>,
[true,true], "stylewithcss"[false,",,alse,",bold"false,",,false,"]},
["oo[<span style=\"font-weight: 400\">bar]</span>baz",
[["stylewithcss","true"],["bold",""]], "foo[<span style=\"font-weight:bold\">bar]</span>baz",
[true,true],
{"tylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
[foo<span style\font-weight 400\>]</pan>baz"
[["stylewithcss","false"],["bold",""]],
foo<><bbaz,
[true,true],
{"stylewithcss":[false,true,"",false,false,""]," "<span style=\"font-weight:100\">foo<b>[bar]</b>baz<
[" {stylewithcss"[,true,"false,alse,"]"old"[,alse,"",false,true,""]}],
[stylewithcss""","""], "foo[bar]baz",
[,],
{"stylewithcss":[false,false,"",false,true,""], "span "-weight400"foo style="weightb\"[]</span>az<span>"
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 55
[["stylewithcss"[s =java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 55 "foo style\font-weight400\>b[ar]/>az<span>,
[true,true],
{"stylewithcss":[false,true,"",false,false,""] "tylewithcss"[true"false,,"",bold:[alse,false,"falsetrue"},
["foo[<span style=\"font-weight: 400\">bar</java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 42
["stylewithcss""rue][b""]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 "foo[<span style=\"font-weight:bold\">bar</span>] {"stylewithcss":[false,false,"",false,true,""],"bold[,",t"]""[false,rue,",,"},
[true,true], "stylewithcss"f",false,,"":java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 91
["foo[<span style=\"font- [java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 43
[["stylewithcss","false"],["bold "<>java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 25
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"", [s""","old,],
["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,""]}],
[\"-:700"bar<span>",
[["stylewithcss","false"span ="-eight\foo<span>bar]span style="-:900\>/" "foo[bar]baz",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""][{spanstyle\font-:100\>oobarbaz<span"java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
["<span style=\"font-weight: 100\">foo[bar]baz</span>",
[["stylewithcss","true"],[" [rue]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16 "span style="weight100\>oospan \font-weight:\>bar]<baz<span>,
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["<span style=\"font-weight: 100\">foo[bar]baz</span>",
[["""alse","""]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 "<span style=\"font-weight:100\">foo<b>[bar]</b>baz</span>",
[t],
{"stylewithcss":[false,true,"",false,false,""],"[< style=\-eight:400\f]<span>,
["<span style=\"font-weight: 400\">foo[bar]baz</span>",
["""rue","old,"]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
<style\font-400"foo<pan \f-:old\>bar]/>az<span>,
[true,true],
{"stylewithcss": {"tylewithcss"[,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["<span style=\"font-weight: 400\">foo[bar]baz< ["stylewithcss""false",[bold",""],
[["stylewithcss "{span =\"font-weight:\"<bfoobar]<bbaz/span>, "<span style [rue,],
[ruetrue]
{"stylewithcss":[false,true,"[<style="ont-eight \>oobarbaz/"java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
["<span style=\"font-weight "foobar]s ="weight:\>az/>java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
[["stylewithcss","true"],["bold",""]], "<pan style="weight\>oo/[]<panstyle\font-eight:\>/>java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
[true,true],
{"stylewithcss":[false"<pan ="weight \>oobar<span"java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
["<span style=\"font-weight: 700\">foo[bar]baz</span>",
[["stylewithcss","false"],[" t]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16 "<b>foo</b>[bar]<b>baz</b>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"["old,"]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
tyle\font-eight:900"foobar]az/>"
["stylewithcss"""][bold,"]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 "span style\font-weight:900"><span>bar<style\font-900"baz<span"
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false, "<span style=\"font-weight:100\">foo<span style=\"font-weight:bold<span},
[< style=\font-eight:900"foo[bar]<>,
[["stylewithcss","false"],["bold",""]],
baz</span>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",[<pan ="ont-: \>oo[barbaz/}, "< =\font-:\>]az<span>",
[["stylewithcss","true"],["bold",""]],
:100\"span style="-:bold\">oobar]/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,",,false,]"":falsef,",alse,,""]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
{spanstyle\font- \>b<",
[["stylewithcss","true" "java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 91
<"-:\f[
,ruejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{:f,,"falset""]":falsefalse,true""}]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
["{<span style=\"font-java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 16
[s,false]["""]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 "{<"<span style"weight \>oo[<span},
[true,true],
{stylewithcss:falsetrue,"false,alse,",bold,",,true,"},
["{<span style=\"font-weight: 700\">foobar "sstyle\fontweight700"foo<span>barbaz},
[["stylewithcss","true"],["bold",""]], "{ t,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
[ruetrue,
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["{<span ylewithcss""false","old""],
["",false","bold,", "{foobar]<b true,true],
[rue,,
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["{<span style=\"font-weight: 900\>/[" "bold",], "{foobar]<span style=\"font "bold":false,,""false,false,""]}],
[true],
{bold":false,,",false,false,""]}],
["<span style=\"font-weight: 100\">foo[barbaz</span>}",
[["stylewithcss","true"],["bold",""]], "span =\"font-weight:100\>foo<panstyle="font-weight:bold\">[barbaz</span></span>}",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[ "stylewithcss":false,false,""false,true,""],"bold":[false,true,"",false,false,""]}], "\:100"[/>,
[["stylewithcss","false"],["bold",""]], "<span style=\"font{java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 91
t,]
{stylewithcss:falsetrue,,,""":false,,,,rue,"},
["<span style=\"font-weight: 400\">foo[barbaz</span>}",
[["stylewithcss","true"],["bold",""]],
<style"-400"foo style\font-eight"[/>/>"java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
[true,true],
{"stylewithcss":[false,false,"",false,true,""]," [s""alse","bold,"]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
["<span style=\"font-weight: 400 [,rue]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
[stylewithcss,false][b""]], "<span style=\"font-weight:400\">foo<b>[barbaz</b></span>}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"", <3foospanstyle\-weight:\>[/>}, ""[,false,"f,,",b:[alsetrue",false"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[["stylewithcss","true"],["bold","["",false","""], "<span style=\"font-weight:700\">foo</span> <f<pan \font-:java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 69
[true,true], "":false,alse,"false,,","bold":f,,"false,"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91 "< style=\"fontweight:700"foob/},
[["stylewithcss","false"],["bold",""]], "<b>foo</b>[barbaz}",
[true,true],
{"stylewithcss":[false,true,"",false,false, true,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
["<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 ":falsetrue"",alse,false,",bold":[false,true",false,]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[["stylewithcss","true"],["bold",""]], "h><pan ="weight:\"b<span></h3"java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
[true,true],
{"tylewithcss"[,false",,,",b"[,true,"false,,]],
["<h3>foo[bar]baz</h3>",
[["stylewithcss","false"],["bold",""]],
style"-:ormal\>[ar]</span>baz</>,
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["{<h3>foobar]baz</h3>",
[stylewithcss,t][bold""], "{<h3><span style=\"font-weight:normal\">foobar]</span>baz</h3>",
[true,true],
{"tylewithcss":[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>",
[ "stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
{"stylewithcss":[false,truetruet] "foobarbaz<h3},
[["stylewithcss","true"],["bold",""]], "<h3>foo<span style=\"font
[true,true],
{"stylewithcss:f,alse,"falsetrue"",bold:falsetrue,,false"]] "h3>foo[<},
[["java.lang.StringIndexOutOfBoundsException: Range [4, 19) out of bounds for length 16 "<h3>foo<span style=\"font-weight:normal\">[barbaz</[{java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 24
[,
{"java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 16 "[java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 24
[["stylewithcss","true"],["bold",""]], "<h3><span style=\"font-weight:normal\">[foobarbaz]</java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 42
t,java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{"stylewithcss":[false,false sjava.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 91
["<h3>[foobarbaz]</h3>",
[sjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 43 "<["java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 43
[true,true],
{"stylewithcss":[false,true,[true, "<><>,
[["stylewithcss","true"],["bold",""]], "h3> \:java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 69
<f[baz>
{"stylewithcss":[false,false,"",false,true, ":false",java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 91 "h>java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 24
[["stylewithcss",t,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16 "{<h3><span style=\"font-weight:normal\">foobarbaz]</span></h3>",
[true,true],
{"stylewithcss":[false,true,"",false,false," {java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 56
[" ""[false",true"]":truef",,"]]java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
[["stylewithcss","true"],["bold",""]], "<h3><span style=\"font-weight:normal\">[foobarbaz</span></h3>}",
[true,[ruet,
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false{stylewithcss[true,,false"]""[false",alse,"]]java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
["<h3>[foobarbaz</h3>}",
[["stylewithcss","false"],["bold",""]], "h>s style="-:\>foobarbazjava.lang.StringIndexOutOfBoundsException: Range [69, 60) out of bounds for length 69
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false," [stylewithcss"""][bold,"]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
f,",false",bold[t,"falsef,"]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[["stylewithcss","true"],["bold",""]], "{<h3><span style=\"font-weight:normal\">foobarbaz</span></h3> "<<foo[<>az/<b,
[true,true],
{"stylewithcss":[false,false,"",false,true,"{stylewithcss"[,alse",alse,rue,",bold":false,false,"",false,true,""]}], "<3<}
[["stylewithcss","false [[stylewithcss,f],","] "<3>span \font-:\"foobarbaz/<h3}java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
[true,true],
{"tylewithcss"[alsetrue",false,",bold":false,,",f"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
["<b>foo<span "ibfoo/>/>bar<>az/>,
[["stylewithcss","true"],["bold",""]], "<b>foo<span style=\"font-weight:normal\">java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 32
[true,true],
{stylewithcss:false,alse,"false,,",bold"[false,,"false,alse"]}]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[-weight \><>baz]/>uz<spanqoz/b>java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
[stylewithcss,false"][bold",""]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 "<b>foo<span style=\"font-weight:normal\">bar[baz]quz</span>qoz</b t,rue]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["<b>foo<span style=\"font-weight: normal\">[bar]</span>baz "b[bar]ibaz/i>/>,
[["stylewithcss","true"],["bold",""]], "<b>foo[bar]baz</b>",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}], "b>oo<pan style="weight: normal"[<span>az</b>,
[["stylewithcss","false"], "<bfoo[bar]<i>baz</i></b>", "<b>foo[bar]baz</b>",
[true],
{"stylewithcss":[false, {"stylewithcss":[false,truestylewithcss":false,true,""falsefalse,"]"":falsef,""]],
["{<b>foo</b> <b>bar</b>}", "],[bold"""], "{<span style=\"font-weight:bold\">foo bar}</span>",
[true,true],
{stylewithcss:falsefalse,"false,rue,",bold:truefalse,",falsetrue,"},
["{<b>foo</b> <b>bar</b>}",
[[" [true]
/b>,
[true,true],
{stylewithcss:falset,"false,alse,""",false,"ftrue"]}]
["{<h3>foo</h3><b>bar</b>}",
[["stylewithcss","true"],["bold",""]], "{<h3><span style=\"font[ruetrue,
[true,true], "":false,",,rue"]":false,",,false,"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
>,
[[" "java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 43
{h3<spanstyle="font-weight:normal\">oo/span</h3>bar}",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[ {"stylewithcss":[false,true,"",false,false,""],"bold":[false,"",alsefalse,""]}], "i<bfoo/b>/[ar]i<b>az<b>/i>,
[[" [[stylewithcss""rue][bold","]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 "b>i></>[ar]i>az</>/b>"
[true,true],
{"stylewithcss":[false,sjava.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 91 "i<foo/>/>[<b/>/"java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
["",false]"old""], "<b><i>foo</i>[bar]<i>baz</i></b>",
[true,true,
{"stylewithcss":[java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 16 "i><>/b</>[bar]b></b>"java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
["tylewithcss""","","]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 "<b><i>foo</i>[bar]baz</b>",
[true]
{"stylewithcss":[false,false,"",false,true,"" t,]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
["<i><b>foo</b></i>[bar]<b>baz</b>",
[["stylewithcss","false"],[""<>spanclassnotbold[<span<b,
>/[barbaz<b"java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false, {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true
[[bar]ibb/<i>java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
[stylewithcss,true]["""], "<b>foo[bar]<i>baz</i></b>",
[true,true],
{"stylewithcss":[false,false,"",false{stylewithcss:[alsefalse",false,true,""],"bold":[false,false,"",false,true,""]}],
[ [rue,true,
[["stylewithcss","false"],["bold",""]], "<>foo[bar]<i>baz</i></b>",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false"< style=\"ont-weight:bold\"foo[bar]baz</>",
["<font color=blue "<p<span style=\"fontweight:bold\">foo</span>[bar]<span style=\"font-weight:bold\">baz</span></p>",
[",""], "<b><font color=\"blue\" face=\"monospace\">foo</font>[bar]</b>",
[rue],
{"bold":[false,false,"",false,true,""]}],
["foo<span style=\"font-weight
[["stylewithcss","true"],["bold[rue,],
f{}java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 18
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"
["foo<span style=\"font-weight: normal\"><b>{bar} "bold"[true,false,",false,rue"]],
[["stylewithcss","false"],["bold","""""], "bbrb<a"java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
ttrue
{"stylewithcss":[false,true"fo[o<b>b]az",
[classnotbold>bar<span>baz",
[["stylewithcss","true"], fospan style="ont-:old\">obarb]<span>az"java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 "<span style=\"font-weight:bold\">[foo< "stylewithcss"[false,false,"falsetrue,"],bold":[true,alse""false,true,""]}],
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
[[foo<span class=notbold>ar/span>baz]",
[["stylewithcss","false"],["bold",""]],
]<b",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 22
["<b><span class=notbold>[foo]</span></b>",
[["stylewithcss","true"],["bold",""]], "<span class=\"notbold\"><span style=\"font- {"stylewithcss":[false,false,"",false,true,""],"bold,true"",false,false,""]}],
["oo[<>b]</>az",
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
[<b>spanclass=notbold>[foo]</span></b>",
[["stylewithcss","false"],["bold",""]], "<span class=\"notbold\"><b>[foo]</b></span>",
[rue,],
{"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\"java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[truet]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{"stylewithcsst]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
["<b><span class=notbold>foo[bar]baz</span></b>",
[["stylewithcss","false"],["bold",""]],
<>span class\notbold"><b>[ar]<b>az/span>/b>"java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
[true,true],
{"stylewithcss":[false foo{arbaz,
["<p style=\"font-weight: bold\">foo[bar]baz</p>",
[["stylewithcss","true"],["bold",""]],
<>spanstyle\f-eightboldfoo[]span\-b\">/pan<>,
[true,true],
{"stylewithcss":[false,false,"", [["stylewithcss","false"],["bold","
[" true,]
[["stylewithcss","false"],["{"stylewithcss":[false,true,"",falsejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 91 "<p><b>foo</b>[bar]<[[< =>]</>", truetrue]java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{"stylewithcss:false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
["fo[o<b>b]ar</b>baz",
[["bold",""]],
fo>obar/b>az,
[true],
{"bold":[true,false,"",false,true,""]}],
["foo<b>ba[r</b>b]az",
[[ ["bold","]]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 "foo<b>ba[rb]<b>z"
[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]<baz",
[true,true],
{"stylewithcss":[false,true,""spanstyle=font-weight::700foo/span><pan style=font-weight:800>b</span>,
["foo[<b>b]ar</b>baz",
[["stylewithcss","true"],["bold",""]], "foo[]span style=\"font-weight:bold\">ar</span>baz",
[true,true],
{"stylewithcss":[false,false,"",false,true, true,rue,
["oo<b>b]ar</>baz"java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
[",""]], "foo[b]<b>ar</b>baz ["tylewithcss",true],"old","],
[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-eight:bold\"ba/span>[r]baz",
[true,true], 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"stylewithcss"""[bold""],
[foo{bbar>,
[["stylewithcss","true"],["bold",""]], "foo{bar}baz",
[true,true],
{stylewithcss":falsefalse,"",false,true,""],"bold":[false,true,"",false,false,""]}],
["foo{<b>bar</b>}baz",
[","false],"bold",""]], "foo{bar}baz",
true,rue,
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]} "spanstyle=="font-eight:500\><b[<b<span>spanstyle=\font-weight:00"<>b]<bar</span>,
["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, ["stylewithcss","true"],["bold",""]],
["<span style=font-weight:800>fo[o</ <span style=\font-:400">fo style\font-eight:bold\>[</span<span<span style=\font-weight:500\">spanstyle=\"font-weight:bold\">b]</span>ar</span>",
[["bold",""]],
<span ="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",""]],
<spanstyle\"ont-eight:00\">o<span>ob]<span style=\"ont-weight:800\><span>,
[true,true],
{"stylewithcss":[false,false,"",false, [true,rue]
["<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["tylewithcss,true][b"""],
[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",""]], "spanstyle="weight:600\"<span[]s style="-eight:700"><>,
[true[java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 16
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true[< font300foospan<panfontweight:>ar/>java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82 "spanstyle=weight600fo[<span<pan style=weight:>]ar/"java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
[["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,""]}],
[<spanstyle=font-weight:>fo[<span>=font-eight:600>]ar</span>, truetrue, "span style="ontweight500"fospan \font-:bold\">[o/span><span<style\font-weight600"< style="ontweightb\>]/a<span>java.lang.StringIndexOutOfBoundsException: Index 173 out of bounds for length 173
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[truespanstyle\font-weight200"fo>o/<span<style=f-:300"<bb<b>/span"java.lang.StringIndexOutOfBoundsException: Index 107 out of bounds for length 107
["<span style=font-weight:500>fo[o</span><span style=font-weight:600>b]ar</span>",
[[""<span styleweight:00f[o</pan>span style-eight:>]ar/>, "<span style=\"font-weight:500\"> [s""rue","old""],
[true,true],
{stylewithcss:falsetrue"false,alse,",bold:truef",,true,"}]
["<span style=font-weight:400>fo[o</span><span style=font-weight:500>b]ar</span>"[rue,]
["stylewithcss","true"],["bold",""]], "<span style=\"ospan<stylefontweight200>ar/"java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
[true,true],
{"stylewithcssfalse,",true"],bold"[f,"false,true"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
[" true,],
[["stylewithcss","false"],["bold",""]{stylewithcss:[,rue,"falsefalse,"","":false",alset,"]]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91 "<span style=\"font-weight:400\">fo<b>[o</b></span><span style=\"font-[abc>dcontenteditable"alse\>be/></span>f]</b>ghi",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
["<span style=font-weight:300>fo[o< [rue,true],
[["stylewithcss","true"],["bold",""]], "<span style=\"font-weight:300\">fo<span style=\"font abcdspan =\"false\>span contenteditable=\"\e/>/>fghi"
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"// Check where the new style (<b>) will be applied. Basically, it should be
["<// range into the nodes entirely selected.
[["stylewithcss","false"],["bold",""]], "<span style=\"font-"abc<i><b>def</b></i>ghi"
[java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
{"stylewithcss":[false,true,"",false ><>/>java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 30 "span style=-weight:200>fo[o</span><span style=font-weight:300>b]ar</span>",
[["stylewithcss","true"],["java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 30 "<span style=\"font-weight:200\">fo<span java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"" abc<>>efi/>,
["<span style=font-weight:200>fo[o</span><span style=font-weight:300>b]ar</span>",
[["stylewithcss","false[abc<i>def</>]ghi"java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22 "<span style=\"font-weight:200\">fo<b>[o</b></span><span a<i>>def/<>,
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 22
["<span stylea<>bd/b<i>ghi",
[["stylewithcss","true"],["bold",""]], "<span style=\"font-weight:100\">fo<span style=\"font-weight
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["<style=weight:>o/< style=-weight:200b]r</pan"java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
["""],["bold"], "<span style=\"font-weight:100\">fo<b>[o</b true,true],
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
// Check where the new style (<b>) will be applied. Basically, it should be // applied to minimized range as far as possible, but should not shrink the // range into the nodes entirely selected.
["abc<i>[def]</i>ghi",
[["stylewithcss","false"],["bold",""]], "abc<i><b>def</b></i>ghi",
[true,true],
{}],
["abc[<i>def</i>]ghi",
[["stylewithcss","false"],["bold",""]], "abc<b><i>def</i></b>ghi",
[true,true],
{}],
["abc<i>{def}</i>ghi",
[["stylewithcss","false"],["bold",""]], "abc<i><b>def</b></i>ghi",
[true,true],
{}],
["abc{<i>def</i>}ghi",
[["stylewithcss","false"],["bold",""]], "abc<b><i>def</i></b>ghi",
[true,true],
{}],
["abc<i>[def</i>]ghi",
[["stylewithcss","false"],["bold",""]], "abc<i><b>def</b></i>ghi",
[true,true],
{}],
["abc[<i>def]</i>ghi",
[["stylewithcss","false"],["bold",""]], "abc<i><b>def</b></i>ghi",
[true,true],
{}],
// Should not change the style of the non-editable nodes so that only the // visible and editable nodes are wrapped into the <b> elements.
['{ <span contenteditable="false">A</span> ; <span contenteditable="false">B</span> ; <span contenteditable="false">C</span> }',
[["stylewithcss","false"],["bold",""]], ' <span contenteditable="false">A</span><b> ; </b><span contenteditable="false">B</span><b> ; </b><span contenteditable="false">C</span> ',
[true,true],
{}],
]
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.