lib/caramelize/wikka2markdown_converter.rb in caramelize-0.0.1 vs lib/caramelize/wikka2markdown_converter.rb in caramelize-0.0.2

- old
+ new

@@ -11,14 +11,13 @@ str.gsub!(/(\*\*)(.*?)(\*\*)/) {|s| '**' + $2 + '**' } #bold str.gsub!(/(\/\/)(.*?)(\/\/)/) {|s| '_' + $2 + '_' } #italic #str.gsub!(/(===)(.*?)(===)/) {|s| '`' + $2 + '`'} #code str.gsub!(/(__)(.*?)(__)/) {|s| '<u>' + $2 + '</u>'} #underline - str.gsub!(/(.*?)(\n\t-)(.*?)/) {|s| $1 + '\n' + $3 } #list + #str.gsub!(/(.*?)(\n\t-)(.*?)/) {|s| $1 + '\n' + $3 } #list - #str.gsub!(/(\t-)(.*?)/) {|s| '*' + $2 } #list + str.gsub!(/(\t-)(.*?)/) {|s| '*' + $2 } #list #str.gsub!(/(----)/) {|s| '~~~~'} #seperator - # TODO more syntax conversion for links and images str