mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-20 20:03:42 +00:00
18 lines
635 B
JSON
18 lines
635 B
JSON
|
[
|
||
|
{
|
||
|
"msg": "Simple message",
|
||
|
"html": "<p>Foo bar</p>",
|
||
|
"expected": "<p>Foo bar<span typeof=\"mw:Transclusion\" data-mw=\"{"parts":[" ~~~~"]}\"></span></p>"
|
||
|
},
|
||
|
{
|
||
|
"msg": "List",
|
||
|
"html": "<p>Foo bar</p><ul><li>A</li><li>B</li></ul>",
|
||
|
"expected": "<p>Foo bar</p><ul><li>A</li><li>B</li></ul><p><span typeof=\"mw:Transclusion\" data-mw=\"{"parts":["~~~~"]}\"></span></p>"
|
||
|
},
|
||
|
{
|
||
|
"msg": "Empty trailing paragraph",
|
||
|
"html": "<p>Foo bar</p><p></p>",
|
||
|
"expected": "<p>Foo bar</p><p><span typeof=\"mw:Transclusion\" data-mw=\"{"parts":["~~~~"]}\"></span></p>"
|
||
|
}
|
||
|
]
|