var browserTests = [ ["foo[]bar", [["insertimage","/img/lion.svg"]], "foo{}bar", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo{}bar", [["insertimage","/img/lion.svg"]], "foo{}bar", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[]bar", [["insertimage","/img/lion.svg"]], "foo{}bar", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[bar]baz", [["insertimage",""]], "foo[bar]baz", [false], {"insertimage":[false,false,"",false,false,""]}], ["foo[bar]baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[bar]baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo{bar}baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo{bar}baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["[foobar]baz", [["stylewithcss","true"],["insertimage","/img/lion.svg"]], "{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"insertimage":[false,false,"",false,false,""]}], ["[foobar]baz", [["stylewithcss","false"],["insertimage","/img/lion.svg"]], "{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"insertimage":[false,false,"",false,false,""]}], ["{foobar}baz", [["stylewithcss","true"],["insertimage","/img/lion.svg"]], "{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"insertimage":[false,false,"",false,false,""]}], ["{foobar}baz", [["stylewithcss","false"],["insertimage","/img/lion.svg"]], "{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"insertimage":[false,false,"",false,false,""]}], ["foo[barbaz]", [["insertimage","/img/lion.svg"]], "foo{}", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo{barbaz}", [["insertimage","/img/lion.svg"]], "foo{}", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[barbaz]quz", [["stylewithcss","true"],["insertimage","/img/lion.svg"]], "foo{}quz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"insertimage":[false,false,"",false,false,""]}], ["foo[barbaz]quz", [["stylewithcss","false"],["insertimage","/img/lion.svg"]], "foo{}quz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"insertimage":[false,false,"",false,false,""]}], ["foo[bar]baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo{bar}baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo{bar}baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[bar]baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo{bar}baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo{bar}baz", [["insertimage","/img/lion.svg"]], "foo{}baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[barbaz]quz", [["insertimage","/img/lion.svg"]], "foo{}quz", [true], {"insertimage":[false,false,"",false,false,""]}], ["

foo

[bar]

baz

", [["insertimage","/img/lion.svg"]], "

foo

{}

baz

", [true], {"insertimage":[false,false,"",false,false,""]}], ["

foo

{bar}

baz

", [["insertimage","/img/lion.svg"]], "

foo

{}

baz

", [true], {"insertimage":[false,false,"",false,false,""]}], ["

foo

{

bar

}

baz

", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo

{}

baz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo

{

bar

}

baz

", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo

{}

baz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz
", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz
", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz

", [["insertimage","/img/lion.svg"]], "

foo{}quz

", [true], {"insertimage":[false,false,"",false,false,""]}], ["
foo[bar

baz]quz", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}quz
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["
foo[bar

baz]quz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}quz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["
foo[bar
baz]quz
", [["insertimage","/img/lion.svg"]], "
foo{}quz
", [true], {"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz

qozfoo{}quz

qoz

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz

qozfoo{}quz

qoz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["stylewithcss","true"],["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["stylewithcss","false"],["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["stylewithcss","true"],["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true,true], {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["stylewithcss","false"],["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}quz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo

[bar

baz]

", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo

{}

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo

[bar

baz]

", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo

{}

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["foo[
]bar", [["insertimage","/img/lion.svg"]], "foo{}bar", [true], {"insertimage":[false,false,"",false,false,""]}], ["

foo[

]bar

", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}bar

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[

]bar

", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}bar

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[

]bar
baz

", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "

foo{}bar
baz

", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["

foo[

]bar
baz

", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "

foo{}bar
baz

", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar

", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "foo{}bar", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar

", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "foo{}bar", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar
baz

", [["insertimage","/img/lion.svg"]], "foo{}bar

baz

", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar

baz", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "foo{}bar
baz", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar

baz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "foo{}bar
baz", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[

]bar", [["insertimage","/img/lion.svg"]], "

foo{}bar

", [true], {"insertimage":[false,false,"",false,false,""]}], ["

foo[

]bar
baz", [["insertimage","/img/lion.svg"]], "

foo{}bar

baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["

foo[

]bar

baz

", [["insertimage","/img/lion.svg"]], "

foo{}bar

baz

", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar

", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "foo{}bar", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar

", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "foo{}bar", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["

foo[

]bar", [["insertimage","/img/lion.svg"]], "

foo{}bar

", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar

baz
", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "foo{}bar
baz
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["foo[

]bar

baz
", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "foo{}bar
baz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["foo[
]bar

baz

", [["insertimage","/img/lion.svg"]], "foo{}bar

baz

", [true], {"insertimage":[false,false,"",false,false,""]}], ["

foo

bar[
]baz", [["insertimage","/img/lion.svg"]], "

foo

bar{}baz
", [true], {"insertimage":[false,false,"",false,false,""]}], ["
foo

bar[

]baz", [["insertimage","/img/lion.svg"]], "
foo

bar{}baz

", [true], {"insertimage":[false,false,"",false,false,""]}] ]