Nowiki Include
Previously, <nowiki>[[!include foo]]</nowiki> would produce some garbage, like chunk18226682includechunk instead of the desired rendered text, [[!include foo]] Fixed.
This commit is contained in:
parent
7828d79d35
commit
dcd3e63ae8
2 changed files with 8 additions and 1 deletions
|
@ -12,6 +12,12 @@ class NoWikiTest < Test::Unit::TestCase
|
|||
)
|
||||
end
|
||||
|
||||
def test_include_nowiki
|
||||
match(NoWiki, 'This sentence contains <nowiki>[[!include foo]]</nowiki>. Do not touch!',
|
||||
:plain_text => '[[!include foo]]'
|
||||
)
|
||||
end
|
||||
|
||||
def test_markdown_nowiki
|
||||
match(NoWiki, 'This sentence contains <nowiki>*raw text*</nowiki>. Do not touch!',
|
||||
:plain_text => '*raw text*'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue