Explorar el Código

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

tags/v0.3
Ben Kurtovic hace 11 años
padre
commit
9f579ec29f
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      tests/tokenizer/tags_wikimarkup.mwtest

+ 7
- 0
tests/tokenizer/tags_wikimarkup.mwtest Ver fichero

@@ -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")]

Cargando…
Cancelar
Guardar