[kramdown-users] url-encoding feature suggestion

Matt Neuburg matt at tidbits.com
Thu Aug 18 10:52:48 EDT 2011

Wouldn't it be cool if kramdown would do URL-encoding? For example, suppose I put this (the URL being copied out of my browser - I hope this comes through the email):

  [A town in Slovakia](http://en.wikipedia.org/wiki/Košice)

The result is:

  <a href="http://en.wikipedia.org/wiki/Košice">A town in Slovakia</a>

But it should be URL-encoded:

  <a href="http://en.wikipedia.org/wiki/Kos%CC%8Cice">A town in Slovakia</a>

I can fix this in my own post-processing in RubyFrontier, of course, but I suggest that having kramdown perform the URL-encoding itself would be a cool feature. m.

matt neuburg, phd = matt at tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com

More information about the kramdown-users mailing list