Commit graph

4 commits

Author SHA1 Message Date
joshua stein a812f25c2f Markdowner: use Nokogiri for html rewriting
brute forcing changes by regexps gets things wrong sometimes, so use
nokogiri to parse the html output of rdiscount and do changes on
individual nodes, then turn back into a string

we lose the ability to move punctuation inside of auto-generated
links, but i don't see any easy/definitive way to do this properly.

closes #242
closes #209
2015-12-07 12:27:03 -06:00
joshua stein abd662fc7e add some tests for Markdowner
including failing ones for bug #209 and bug #242
2015-12-03 15:17:31 -06:00
joshua stein 8dd109c49f drop custom markdowner for rdiscount 2012-08-24 10:57:42 -05:00
joshua stein 093747b796 initial work on conversion from php tree 2012-06-16 20:15:46 -05:00