// For documentation of the format, see README in this directory.
var browserTests = [
["foo[]bar",
[["insertorderedlist",""]],
"
- foo[]bar
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo[bar]baz",
[["insertorderedlist",""]],
"- foo[bar]baz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo
[bar]",
[["insertorderedlist",""]],
"foo- [bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["f[oo
b]ar
baz",
[["insertorderedlist",""]],
"- f[oo
- b]ar
baz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]
bar
",
[["insertorderedlist",""]],
"- [foo]
bar
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo- bar]
baz",
[["insertorderedlist",""]],
"- [foo
- bar]
baz",
[true],
{"insertorderedlist":[true,false,"",false,true,""]}],
["foo- [bar
baz]",
[["insertorderedlist",""]],
"foo- [bar
- baz]
",
[true],
{"insertorderedlist":[true,false,"",false,true,""]}],
["[foobaz",
[["insertorderedlist",""]],
"- [foo
- bar]
baz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foobaz]",
[["insertorderedlist",""]],
"foo- [bar
- baz]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo- baz]
quz",
[["insertorderedlist",""]],
"foo- [bar
- baz]
quz",
[true],
{"insertorderedlist":[true,false,"",false,true,""]}],
["foo- [bar
quz",
[["insertorderedlist",""]],
"foo- [bar
- baz]
quz",
[true],
{"insertorderedlist":[true,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["{}",
[["insertorderedlist",""]],
"- {}
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo
[bar]
baz",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
foo
- [bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["foo
[bar]
baz",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
foo
- [bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["foo
[bar]
baz",
[["insertorderedlist",""]],
"
foo
- [bar]
baz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
- [bar]
- baz
- quz
",
[["insertorderedlist",""]],
"- foo
- [bar]
- baz
- quz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
- bar
- [baz]
- quz
",
[["insertorderedlist",""]],
"- foo
- bar
- [baz]
- quz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo
bar]
baz",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
- [foo
- bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo
bar]
baz",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
- [foo
- bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo
bar]
baz",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
- [foo
- bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo
bar]
baz",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
- [foo
- bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["- [foo
- bar]
- baz
- quz
",
[["insertorderedlist",""]],
"- [foo
- bar]
- baz
- quz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
- [bar
- baz]
- quz
",
[["insertorderedlist",""]],
"- foo
- [bar
- baz]
- quz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo
bar]
baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- [foo
- bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo
bar]
baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- [foo
- bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
- [bar]
- baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
[bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar]
- baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
[bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
[bar]",
[["insertorderedlist",""]],
"- foo
- [bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]- bar
",
[["insertorderedlist",""]],
"- [foo]
- bar
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]- baz
",
[["insertorderedlist",""]],
"- foo
- [bar]
- baz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["- [foo]
",
[["insertorderedlist",""]],
"- [foo]
",
[true],
{"insertorderedlist":[false,true,"",false,true,""]}],
["- [foo]
bar - baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"[foo]
bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- [foo]
bar - baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"[foo]
bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
[bar] - baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"foo
[bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
[bar] - baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"foo
[bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["[foo]
bar- baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"[foo]
bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["[foo]
bar- baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"[foo]
bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar]
- baz
- quz
",
[["insertorderedlist",""]],
"- foo
- [bar]
- baz
- quz
",
[true],
{"insertorderedlist":[false,true,"",false,true,""]}],
["- foo
- bar
- [baz]
- quz
",
[["insertorderedlist",""]],
"- foo
- bar
- [baz]
- quz
",
[true],
{"insertorderedlist":[false,true,"",false,true,""]}],
["- foo
- [bar]
- baz
- quz
",
[["insertorderedlist",""]],
"- foo
- [bar]
- baz
- quz
",
[true],
{"insertorderedlist":[false,true,"",false,true,""]}],
["- foo
- bar
- [baz]
- quz
",
[["insertorderedlist",""]],
"- foo
- bar
- [baz]
- quz
",
[true],
{"insertorderedlist":[false,true,"",false,true,""]}],
["- [foo]
- bar
- baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"[foo]
- bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- [foo]
- bar
- baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"[foo]
- bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- [foo]
- bar
- baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"[foo]
- bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- [foo]
- bar
- baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"[foo]
- bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar]
- baz
- quz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
[bar]
- baz
- quz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar]
- baz
- quz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
[bar]
- baz
- quz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar]
- baz
- quz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
[bar]
- baz
- quz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar]
- baz
- quz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
[bar]
- baz
- quz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- bar
- baz
- [quz]
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
- bar
- baz
[quz]
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- bar
- baz
- [quz]
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
- bar
- baz
[quz]
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- bar
- baz
- [quz]
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
- bar
- baz
[quz]
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- bar
- baz
- [quz]
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
- bar
- baz
[quz]
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar
- baz]
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
[bar
baz]
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar
- baz]
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
[bar
baz]
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- [foo
- bar]
- baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"[foo
- bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",true,false,""]}],
["- [foo
- bar]
- baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"[foo
- bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",true,false,""]}],
["- foo
- b[ar
- b]az
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
- b[ar
b]az
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",true,false,""]}],
["- foo
- b[ar
- b]az
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
- b[ar
b]az
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",true,false,""]}],
["- [foo
- bar
- baz]
extra",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
[foo
- bar
baz]
extra
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",true,false,""]}],
["- [foo
- bar
- baz]
extra",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
[foo
- bar
baz]
extra
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",true,false,""]}],
["- [foo]
- bar
baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"[foo]
- bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- [foo]
- bar
baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"[foo]
- bar
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- [bar]
baz
",
[["insertorderedlist",""]],
"- foo
- [bar]
- baz
",
[true],
{"insertorderedlist":[false,true,"",false,true,""]}],
["- foo
- bar
[baz]
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
- bar
[baz]
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",false,false,""]}],
["- foo
- bar
[baz]
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
- bar
[baz]
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",false,false,""]}],
["- [foo
- bar]
baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"[foo
- bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,true,"",true,false,""]}],
["- [foo
- bar]
baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"[foo
- bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,true,"",true,false,""]}],
["",
[["insertorderedlist",""]],
"- [bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[bar]",
[["insertorderedlist",""]],
"- [bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]",
[["insertorderedlist",""]],
"- [foo]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[bar]",
[["insertorderedlist",""]],
"- [bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo]
bar
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- foo
[bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"[foo]
bar
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [quz]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [quz]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [bar
- baz]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo
- bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- b[ar
- b]az
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["extra",
[["insertorderedlist",""]],
"
- [foo
- bar
- baz]
extra
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [baz]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo
- bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo- bar
quz",
[["insertorderedlist",""]],
"foo- bar
- [baz]
quz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo- bar
quz]",
[["insertorderedlist",""]],
"foo- bar
- [baz
- quz]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo- baz
quz",
[["insertorderedlist",""]],
"foo- [bar]
- baz
quz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo- baz
quz",
[["insertorderedlist",""]],
"- [foo
- bar]
- baz
quz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]bar
baz",
[["insertorderedlist",""]],
"- [foo]
bar
baz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo[bar]
baz",
[["insertorderedlist",""]],
"foo- [bar]
baz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foobar]
baz",
[["insertorderedlist",""]],
"- [foo
- bar]
baz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]
baz",
[["insertorderedlist",""]],
"- foo
- [bar]
baz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]- bar
baz",
[["insertorderedlist",""]],
"- [foo]
- bar
baz",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["foo[bar]
baz
",
[["insertorderedlist",""]],
"foo- [bar]
baz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foobar]
baz
",
[["insertorderedlist",""]],
"- [foo
- bar]
baz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]
baz
",
[["insertorderedlist",""]],
"- foo
- [bar]
baz
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]
bar
baz",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
- [foo]
bar
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]
bar
baz",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
- [foo]
bar
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["foo
[bar]
baz",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
foo
- [bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["foo
[bar]
baz",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
foo
- [bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo
bar]
baz",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
- [foo
- bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo
bar]
baz",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
- [foo
- bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]
baz",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
- foo
- [bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]
baz",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
- foo
- [bar]
baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [bar]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["stylewithcss","true"],["insertorderedlist",""]],
"- [bar]
",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["insertorderedlist",""]],
"- [bar]
",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["stylewithcss","true"],["insertorderedlist",""]],
"- [bar]
",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["insertorderedlist",""]],
"- [bar]
",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["stylewithcss","true"],["insertorderedlist",""]],
"- [foo]
",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["insertorderedlist",""]],
"- [foo]
",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [foo]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [baz]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["stylewithcss","true"],["insertorderedlist",""]],
"- [baz]
",
[true,true],
{"stylewithcss":[false,false,"",false,true,""],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["stylewithcss","false"],["insertorderedlist",""]],
"- [baz]
",
[true,true],
{"stylewithcss":[false,true,"",false,false,""],"insertorderedlist":[false,false,"",false,true,""]}],
["",
[["insertorderedlist",""]],
"- [baz]
",
[true],
{"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"
- foo
- [bar]
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"
- foo
- [bar]
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]
- bar
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- [foo]
- bar
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["[foo]
- bar
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- [foo]
- bar
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]
- baz
",
[["defaultparagraphseparator","div"],["insertorderedlist",""]],
"- foo
- [bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertorderedlist":[false,false,"",false,true,""]}],
["- foo
[bar]
- baz
",
[["defaultparagraphseparator","p"],["insertorderedlist",""]],
"- foo
- [bar]
- baz
",
[true,true],
{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertorderedlist":[false,false,"",false,true,""]}],
["[bar]
",
[["insertorderedlist",""]],
"- [bar]
",
[true],
{"insertorderedlist":[false,false,"false",false,true,"true"]}],
["bar
[baz]",
[["insertorderedlist",""]],
"bar
- [baz]
",
[true],
{"insertorderedlist":[false,false,"false",false,true,"true"]}],
["",
[["insertorderedlist",""]],
"- bar
- [baz]
",
[true],
{"insertorderedlist":[false,false,"false",false,true,"true"]}],
["{}",
[["insertorderedlist",""],["inserttext","abc"]],
["- abc
",
"- abc
"],
[true,true],
{"insertorderedlist":[false,false,"false",false,true,"true"]}],
["{}
",
[["insertorderedlist",""],["inserttext","abc"]],
["",
""],
[true,true],
{"insertorderedlist":[false,false,"false",false,true,"true"]}],
["{}
",
[["insertorderedlist",""],["inserttext","abc"]],
["",
""],
[true,true],
{"insertorderedlist":[false,false,"false",false,true,"true"]}],
["{}
",
[["insertorderedlist",""],["inserttext","abc"]],
["- abc
",
"- abc
"],
[true,true],
{"insertorderedlist":[false,false,"false",false,true,"true"]}],
["{}
",
[["insertorderedlist",""],["inserttext","abc"]],
["- abc
",
"- abc
"],
[true,true],
{"insertorderedlist":[false,false,"false",false,true,"true"]}],
// "dir" attribute should be preserved for the list element to make the
// bullets aligned correctly.
["a[]bc
def
",
[["insertorderedlist",""]],
["def
",
"- abc
def
"],
[true],
{}],
["a[bc
de]f
",
[["insertorderedlist",""]],
["",
"- abc
- def
"],
[true],
{}],
// but do not copy `dir` attributes to corresponding s because different
// one from the value of the parent list element causes odd looks and anyway
// the `dir` attribute does not affect the text direction.
["a[bc
de]f
",
[["insertorderedlist",""]],
["",
"- abc
- def
"],
[true],
{}],
// The other attributes should be clonsed to each list item.
["a[bc
de]f
",
[["insertorderedlist",""]],
["",
"- abc
- def
"],
[true],
{}],
["a[bc
de]f
",
[["insertorderedlist",""]],
["",
"- abc
- def
"],
[true],
{}],
["a[bc
de]f
",
[["insertorderedlist",""]],
["",
"- abc
- def
"],
[true],
{}],
]