// For documentation of the format, see README in this directory. var browserTests = [ ["foo[]bar", [["inserthorizontalrule",""]], "foo
{}bar", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo{}bar", [["inserthorizontalrule",""]], "foo
{}bar", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[]bar", [["inserthorizontalrule",""]], "foo
{}bar", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["

foo[bar

baz]quz", [["inserthorizontalrule",""]], "

foo


{}

quz

", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo{}bar
", [["inserthorizontalrule",""]], "
foo
{}bar
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[]bar
", [["inserthorizontalrule",""]], "
foo
{}bar
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo{bar}baz
", [["stylewithcss","true"],["inserthorizontalrule",""]], "
foo
{}baz
", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo{bar}baz
", [["stylewithcss","false"],["inserthorizontalrule",""]], "
foo
{}baz
", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[]bar", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}bar", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[]bar", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}bar", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[]bar", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}bar", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[]bar", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}bar", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule","abc"]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo{bar}baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["

foo

[bar]

baz", [["defaultparagraphseparator","div"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo

[bar]

baz", [["defaultparagraphseparator","p"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo

{bar}

baz", [["defaultparagraphseparator","div"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo

{bar}

baz", [["defaultparagraphseparator","p"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo{

bar

}

baz", [["defaultparagraphseparator","div"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo{

bar

}

baz", [["defaultparagraphseparator","p"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo[bar]baz

", [["defaultparagraphseparator","div"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo[bar]baz

", [["defaultparagraphseparator","p"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo[bar]baz

", [["defaultparagraphseparator","div"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foo[bar]baz

", [["defaultparagraphseparator","p"],["inserthorizontalrule",""]], "

foo


{}

baz

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

foob[a]rbaz

", [["stylewithcss","true"],["defaultparagraphseparator","div"],["inserthorizontalrule",""]], "

foob


{}

rbaz

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

foob[a]rbaz

", [["stylewithcss","false"],["defaultparagraphseparator","div"],["inserthorizontalrule",""]], "

foob


{}

rbaz

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

foob[a]rbaz

", [["stylewithcss","true"],["defaultparagraphseparator","p"],["inserthorizontalrule",""]], "

foob


{}

rbaz

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

foob[a]rbaz

", [["stylewithcss","false"],["defaultparagraphseparator","p"],["inserthorizontalrule",""]], "

foob


{}

rbaz

", [true,true,true], {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["", [["inserthorizontalrule",""]], "", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
quz
", [["inserthorizontalrule",""]], "
foo
{}baz
quz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
quz
", [["inserthorizontalrule",""]], "
foo
{}baz
quz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["", [["inserthorizontalrule",""]], "", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["

foo[bar]baz

", [["inserthorizontalrule",""]], "

foo


{}

baz

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

foo[bar]baz

", [["inserthorizontalrule",""]], "

foo


{}

baz

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

foo[bar]baz

", [["inserthorizontalrule",""]], "

foo


{}

baz

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

foo[bar]baz

", [["inserthorizontalrule",""]], "

foo


{}

baz

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

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

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

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

foo[bar]baz

", [["inserthorizontalrule",""]], "

foo


{}

baz

", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["", [["inserthorizontalrule",""]], "", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
  1. foo[bar]baz
", [["inserthorizontalrule",""]], "
  1. foo
    {}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo

{}
baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]bazquz", [["inserthorizontalrule",""]], "foo
{}bazquz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foobar[baz]quz", [["inserthorizontalrule",""]], "foobar
{}quz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foobar[baz]quzqozqiz", [["inserthorizontalrule",""]], "foobar
{}quzqozqiz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
{}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["", [["inserthorizontalrule",""]], "", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
foo[bar]baz
", [["inserthorizontalrule",""]], "
foo
{}baz
", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
{}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
  • foo[bar]baz
  • ", [["inserthorizontalrule",""]], "
  • foo
    {}baz
  • ", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
    {}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
    {}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
    {}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
    {}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
    {}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","true"],["inserthorizontalrule",""]], "foo
    {}baz", [true,true], {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["stylewithcss","false"],["inserthorizontalrule",""]], "foo
    {}baz", [true,true], {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
    {}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
    {}baz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["foo[bar]baz", [["inserthorizontalrule",""]], "foo
    {}baz
    ", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["
    fo[ob]ar
    ", [["inserthorizontalrule",""]], "
    fo
    {}
    ar
    ", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}], ["fo[obarb]az", [["inserthorizontalrule",""]], "fo
    {}baraz", [true], {"inserthorizontalrule":[false,false,"",false,false,""]}] ]