{
    "Definition list for indentation only": {
        "html2wt": ": Indented text"
    },
    "Definition list with bracketed URL link": {
        "html2wt": "; [http://www.example.com/ Example]\n: Something about it"
    },
    "Definition list with empty definition and following paragraph": {
        "html2wt": "; term\n:\n\nParagraph text\n"
    },
    "Definition list with no space": {
        "html2wt": "; name\n: Definition"
    },
    "Definition list with wikilink containing colon": {
        "html2wt": "; [[Help:FAQ]]:The least-read page on Wikipedia"
    },
    "Definition lists: colon in HTML attribute": {
        "html2html": "<dl data-parsoid='{\"dsr\":[0,12,0,0]}'><dt data-parsoid='{\"dsr\":[0,12,1,0,1,0]}'><b data-parsoid='{\"dsr\":[2,12,3,3]}'>bold</b></dt></dl>",
        "html2wt": "; '''bold'''"
    },
    "Definition lists: ignore colons inside tags": {
        "html2wt": "; one '''two : tag ''fun:'':'''\n: def"
    },
    "Hacky use to indent tables": {
        "html2wt": ":: {|\n|foo\n|bar\n|}\n\nthis text\nshould be left alone\n"
    },
    "Hacky use to indent tables (WS-insensitive)": {
        "wt2wt": ":{|\n|a\n|}",
        "html2wt": ": {|\n|a\n|}\n",
        "selser [1]": ":{|\n|a\n|} ",
        "selser [[[2]]]": ":9ir450 {| |a |} ",
        "selser [[[[0,2]]]]": ":{|\n<!--vw4ery-->|a\n|} ",
        "selser [[[[4,2]]]]": ":{|<!--3cryqi--><!--maehme-->\n|a\n|} ",
        "selser [[[1]]]": ":{| data-foobar=\"1s271wa\"\n|a\n|} ",
        "selser [2]": "1ovg6m7\n:{|\n|a\n|} ",
        "selser [[2]]": ": arpppi\n:{|\n|a\n|} ",
        "selser [[1]]": ":{|\n|a\n|} ",
        "selser [[[[3,[[4],0]]]]]": ":{|\n|1tkmhkq\n|} ",
        "selser [[[[0,1]]]]": ":{|\n|a\n|} ",
        "selser [[[[0,3]]]]": ":{|\n|} ",
        "selser [[[[2,2]]]]": ":{|<!--f7em35-->\n<!--xdu4ht-->|a\n|} ",
        "selser [[[[3,[[[3]],3]]]]]": ":{|\n|\n|} ",
        "selser [[[[0,4]]]]": ":{|\n<!--254mqb-->|} "
    },
    "Hacky use to indent tables (with content following table)": {
        "html2wt": ": {|\n|foo\n|bar\n|} <!--c1-->  this text should be part of the dl"
    },
    "Hacky use to indent tables, with comments (T65979)": {
        "html2wt": "<!-- foo -->\n:: {|\n|foo\n|bar\n|}<!-- bar -->\n\nthis text\nshould be left alone"
    },
    "Indentation: Missing 1st level": {
        "html2wt": ":: i2\n::: i3\n"
    },
    "Indentation: Multi-level indent": {
        "html2wt": "::: i3\n"
    },
    "Indentation: Regular": {
        "html2wt": ": i1\n:: i2\n::: i3\n"
    },
    "Malformed definition list with colon": {
        "html2wt": "; news:alt.wikipedia.rox -- don't crash or enter an infinite loop"
    },
    "Mixed Lists: Test 1": {
        "html2wt": "\n:;* foo\n::* bar\n:; baz\n"
    },
    "Mixed Lists: Test 11": {
        "html2wt": "; a\n:* b\n"
    },
    "Mixed Lists: Test 13": {
        "wt2html": "<ul data-parsoid='{\"dsr\":[0,32,0,0]}'><li data-parsoid='{\"dsr\":[0,32,1,0]}'><ol data-parsoid='{\"dsr\":[1,32,0,0]}'><li data-parsoid='{\"dsr\":[1,32,1,0]}'><ul data-parsoid='{\"dsr\":[2,32,0,0]}'><li data-parsoid='{\"dsr\":[2,32,1,0]}'><ol data-parsoid='{\"dsr\":[3,32,0,0]}'><li data-parsoid='{\"dsr\":[3,32,1,0]}'><dl data-parsoid='{\"dsr\":[4,32,0,0]}'><dt data-parsoid='{\"dsr\":[4,18,1,0]}'><ul data-parsoid='{\"dsr\":[5,17,0,0]}'><li data-parsoid='{\"dsr\":[5,17,1,0]}'><dl data-parsoid='{\"dsr\":[6,17,0,0]}'><dt data-parsoid='{\"dsr\":[6,17,1,0]}'><dl data-parsoid='{\"dsr\":[7,17,0,0]}'><dt data-parsoid='{\"dsr\":[7,12,1,0,0,1]}'>foo</dt><dd data-parsoid='{\"stx\":\"row\",\"dsr\":[12,17,1,0,1,0]}'>bar</dd></dl></dt></dl></li></ul>\n</dt><dt data-parsoid='{\"dsr\":[18,27,5,0,0,1]}'>boo</dt><dd data-parsoid='{\"stx\":\"row\",\"dsr\":[27,32,1,0,1,0]}'>baz</dd></dl></li></ol></li></ul></li></ol></li></ul>"
    },
    "Mixed Lists: Test 2": {
        "html2wt": "*: d1\n*: d2\n"
    },
    "Mixed Lists: Test 3": {
        "html2wt": "*::: d1\n*::: d2\n"
    },
    "Mixed Lists: Test 5": {
        "html2wt": "*: d1\n*:: d2\n"
    },
    "Mixed Lists: Test 6": {
        "html2wt": "#*: d1\n#*::: d3\n"
    },
    "Mixed Lists: Test 7": {
        "html2wt": ":* d1\n:* d2\n"
    },
    "Mixed Lists: Test 8": {
        "html2wt": ":* d1\n::* d2\n",
        "selser [[[0,2,1]]]": ":*d1 tzb8dv\n::*d2",
        "selser [[[[3],2,1]]]": ": zkuunv\n::*d2",
        "selser [[[[4],4,1]]]": ":* 1elzkuo 5qe6k7\n::*d2"
    },
    "Nested definition lists using html syntax": {
        "html2wt": "; x\n: a\n: b"
    },
    "Nesting: Multi-level (Parsoid only)": {
        "html2wt": "\n; t1 \n: d1      \n;; t2 \n;: :d2              \n;;; t3 \n;;: ::d3                    \n",
        "selser [[[3],0,0,[[[3],0,2,4]]]]": ";:d1\n;;::d2\n;: 3ewt3t\n;: qgfjwx\n",
        "selser [[0,1,4,[[3,1,3,3]]]]": ";t1:d1\n: zu5kx8\n::d2\n"
    },
    "Nesting: Test 2": {
        "html2wt": "; t1\n:: d2\n"
    },
    "Nesting: Test 3": {
        "html2wt": ":; t1\n:::: d2\n"
    },
    "Nesting: Test 4": {
        "html2wt": "::; t3\n::: d3\n"
    },
    "No nesting: Multiple dd's": {
        "html2wt": "; x\n: a\n: b"
    },
    "T13748: Literal closing tags": {
        "html2wt": "\n; test 1\n: test test test test test\n; test 2\n: test test test test test\n",
        "selser [[0,4,3,[2],0,[3],3,0,0]]": "<dl>\n<dd>1k0w39v</dd><dd>lotdkwtest test test test test</dd>\n<dt></dt>\n<dd>test test test test test</dd>\n</dl>"
    },
    "Table / list interaction: indented table with lists in table contents": {
        "html2wt": ": {|\n|a\n\n* b\n|-\n|c\n\n* d\n|}\n",
        "selser [[[2]]]": ":1gdq7yk {| |- |a  *b |- |c  *d |}"
    },
    "Table / list interaction: lists nested in tables nested in indented lists": {
        "html2wt": ": {|\n|\n: a\n: b\n|\n* c\n* d\n|}\n\n* e\n* f"
    },
    "colons and tables 1": {
        "html2wt": ": {|\n|x\n|}\n: {|\n|y\n|}\n"
    },
    "colons occurring in tags": {
        "html2wt": "; a:b\n; '''a:b'''\n; <i>a:b</i>\n; <span>a:b</span>\n; <div>a:b</div>\n; <div>a\n: b</div>\n; {{1x|a:b}}\n; {{1x|''a:b''}}\n;;; ''a:b''\n"
    }
}
