Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
ec31e46e92
2 changed files with 9 additions and 1 deletions
|
@ -244,6 +244,14 @@ END_THM
|
|||
|
||||
end
|
||||
|
||||
def test_sick_lists
|
||||
|
||||
assert_markup_parsed_as(
|
||||
"<ul>\n<li>item 1 19.</li>\n</ul>",
|
||||
"* item 1\n19.\n")
|
||||
|
||||
end
|
||||
|
||||
def test_have_latest_itex2mml
|
||||
|
||||
assert_markup_parsed_as(
|
||||
|
|
|
@ -54,7 +54,7 @@ module MaRuKu; module Strings
|
|||
#return :ulist if l =~ /^[ ]{0,3}([\*\-\+])\s+.*\w+/
|
||||
#return :olist if l =~ /^[ ]{0,3}\d+\..*\w+/
|
||||
return :ulist if l =~ /^[ ]{0,1}([\*\-\+])\s+.*/
|
||||
return :olist if l =~ /^[ ]{0,1}\d+\..*/
|
||||
return :olist if l =~ /^[ ]{0,1}\d+\.\s+.*/
|
||||
return :header1 if l =~ /^(=)+/
|
||||
return :header2 if l =~ /^([-\s])+$/
|
||||
return :header3 if l =~ /^(#)+\s*\S+/
|
||||
|
|
Loading…
Reference in a new issue