lib/trac-wiki/parser.rb in trac-wiki-0.1.2 vs lib/trac-wiki/parser.rb in trac-wiki-0.1.3
- old
+ new
@@ -500,10 +500,10 @@
parse_table_row($1)
# empty line
when /\A\s*$(\r?\n)?/
end_paragraph
- when /\A([\w\s]*)::\s*/
+ when /\A([:\w\s]+)::(\s+|\r?\n)/
term = $1
start_tag('dl')
start_tag('dt')
@out << escape_html(term)
end_tag