Bladeren bron

Add a failing test for a missed component of #59

tags/v0.4.1
Ben Kurtovic 9 jaren geleden
bovenliggende
commit
7993224926
1 gewijzigde bestanden met toevoegingen van 7 en 0 verwijderingen
  1. +7
    -0
      tests/tokenizer/integration.mwtest

+ 7
- 0
tests/tokenizer/integration.mwtest Bestand weergeven

@@ -244,6 +244,13 @@ output: [Text(text="{{foobar\n<!|key=value}}")]

---

name: newline_and_comment_in_template_name_8
label: a template name containing a newline followed by a comment
input: "{{<!-- comment -->\nfoobar\n<!-- comment -->}}"
output: [TemplateOpen(), CommentStart(), Text(text=" comment "), CommentEnd(), Text(text="\nfoobar\n"), CommentStart(), Text(text=" comment "), CommentEnd(), TemplateClose()]

---

name: tag_in_link_title
label: HTML tags are invalid in link titles, even when complete
input: "[[foo<i>bar</i>baz]]"


Laden…
Annuleren
Opslaan