ndarville / pony-forum

A modern alternative to ancient forum CMSes like vBulletin and PHPBB in Python on Django. (Alpha stage.) (NB: dotCloud have since removed their free Sandbox tier.)
http://pony-forum.com
26 stars 7 forks source link

alt and title tags not in Markdown image putput #106

Closed ndarville closed 11 years ago

ndarville commented 11 years ago
>>> sd('![foo](http://example.com)')
u'<p><img src="http://example.com"></p>'
>>> sd('![foo](http://example.com "bar")')
u'<p><img src="http://example.com"></p>'

Seems like a really weird default behaviour that may have to do with the way the Markdown package outputs.

Test link: https://github.com/ndarville/pony-forum/blob/d25ebbb93467d5a135a6633819a1466e45f6d56d/forum/input_tests.py#L274-L298.