Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template vars are parsed inside pre tag #84

Open
avtobiff opened this issue Oct 10, 2015 · 0 comments
Open

Template vars are parsed inside pre tag #84

avtobiff opened this issue Oct 10, 2015 · 0 comments

Comments

@avtobiff
Copy link

It seems template vars are parsed inside <pre> tags. The resulting
output contain HTML entities for the braces.

Failure: <nil> is not true.
test: template vars should not be parsed inside a pre tag(WikiClothTest)
test/wiki_cloth_test.rb:288:in `block in <class:WikiClothTest>'
     285:   test "template vars should not be parsed inside a pre tag" do
     286:     wiki = WikiCloth::Parser.new(:data => "<pre>{{{1}}}</pre>")
     287:     data = wiki.to_html
  => 288:     assert data =~ /\{\{\{1\}\}\}/
     289:   end
     290: 
     291:   test "[[ links ]] should not work inside pre tags" do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants