// For documentation of the format, see README in this directory. 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
foo{}quz
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["foo[bar
foo{}quz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["foo[bar
foo{}quz
", [true], {"insertimage":[false,false,"",false,false,""]}], ["baz]quz", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "
baz]quz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "
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
foo[bar
baz]quz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "
foo{}quz
foo[bar
foo{}quzbaz]quz
qoz
", [true,true], {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertimage":[false,false,"",false,false,""]}], ["qoz
foo[bar
foo{}quzbaz]quz
qoz
", [true,true], {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertimage":[false,false,"",false,false,""]}], ["qoz
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]
foo
{}
foo
[bar
baz]
foo
{}
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
foo{}bar
baz
foo[
]bar
baz
foo{}bar
baz
]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
baz
", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[]bar
baz", [["defaultparagraphseparator","div"],["insertimage","/img/lion.svg"]], "foo{}bar]bar
baz", [["defaultparagraphseparator","p"],["insertimage","/img/lion.svg"]], "foo{}barfoo[
]bar", [["insertimage","/img/lion.svg"]], "foo{}bar
", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[
]barfoo{}bar
baz", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[
]barbaz
", [["insertimage","/img/lion.svg"]], "foo{}bar
baz
", [true], {"insertimage":[false,false,"",false,false,""]}], ["foo[]bar
]bar
foo[
foo{}bar
]bar
baz]bar
bazbaz
baz
foo
bar[foo
bar{}bazbar[
bar{}baz