瀏覽代碼

Add a test for <nowiki /> before a list.

tags/v0.3
Ben Kurtovic 11 年之前
父節點
當前提交
9f579ec29f
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      tests/tokenizer/tags_wikimarkup.mwtest

+ 7
- 0
tests/tokenizer/tags_wikimarkup.mwtest 查看文件

@@ -514,3 +514,10 @@ name: hr_interruption_long
label: a hr that is interrupted, but the first part remains valid because it is long enough
input: "----x--"
output: [TagOpenOpen(wiki_markup="----"), Text(text="hr"), TagCloseSelfclose(), Text(text="x--")]

---

name: nowiki_cancel
label: a nowiki tag before a list causes it to not be parsed
input: "<nowiki />* Unordered list"
output: [TagOpenOpen(), Text(text="nowiki"), TagCloseSelfclose(padding=" "), Text(text="* Unordered list")]

Loading…
取消
儲存