evilstreak/markdown-js — pull request #185 by walnutist (2014-03-17 05:11:47+00:00)
Title: Fix of src attribute population

Only fetch the value of `href` attribute if the `src` attribute of `img` tag is `undefined`.
Otherwise, any customized dialect returning img tag would fail if the processing is done thru toHTML(toHTMLTree(text, dialect)).