test/parser_test.rb in trac-wiki-0.3.15 vs test/parser_test.rb in trac-wiki-0.3.16
- old
+ new
@@ -376,9 +376,12 @@
tc "<dl><dt>Monty Python</dt><dd> definition</dd></dl>\n", "Monty Python:: definition\n"
tc "<dl><dt>Monty Python</dt><dd> definition</dd></dl>\n", "Monty Python:: definition\n"
tc "<dl><dt>Monty::Python</dt><dd> definition</dd></dl>\n", "Monty::Python:: definition\n"
tc "<dl><dt>::Python</dt><dd> definition</dd></dl>\n", "::Python:: definition\n"
end
+ it 'should parse definition list with dia' do
+ tc "<dl><dt>Monty Pýthón</dt><dd> definition</dd></dl>\n", "Monty Pýthón:: \n definition\n"
+ end
it 'should not parse definition list' do
# FIXME: trailing space
tc "<p>Monty::Python::definition</p>\n", "Monty::Python::definition\n"
tc "<p>bla Monty::Python bla</p>\n", "bla Monty::Python bla\n"
tc "<p>bla Monty::Python</p>\n", "bla Monty::Python\n"