test/parser_test.rb in trac-wiki-0.3.26 vs test/parser_test.rb in trac-wiki-0.3.27

- old
+ new

@@ -999,10 +999,10 @@ tc "<p>jedna:VARTESTPARAM,dve:TRI,p:DVE,arg:VARTESTPARAM|TRI|p=DVE|tridef</p>\n", "{{vartest2 VARTESTPARAM|p=DVE|dva=TRI}}" tc "<p>ahoj |</p>\n", "ahoj {{!}}" tc "<p>jedna:be||not to be,dve:,p:,arg:be||not to be</p>\n", "{{vartest be{{!}}{{!}}not to be}}" end it 'should support options' do - tc "<h3>h1<a class=\"editheading\" href=\"?edit=1\">edit</a></h3>", "=== h1 ==", edit_heading: true + tc "<h3>h1<a class=\"editheading\" href=\"?edit=1\" id=\"h1\">edit</a></h3>", "=== h1 ==", edit_heading: true end it 'should not html' do tc "<p>&lt;b&gt;&lt;/b&gt;</p>\n", "<b></b>\n" tc "<p>&lt;div&gt;&lt;script&gt;alert(666)&lt;/script&gt;&lt;/div&gt;</p>\n", "<div><script>alert(666)</script></div>\n" end