vmg / sundown

Standards compliant, fast, secure markdown processing library in C
1.99k stars 385 forks source link

Corrected the way link alt text is handled #82

Closed andre-d closed 12 years ago

andre-d commented 12 years ago

Brackets would terminate alt-text, such as:

  [Link text](http://google.ca "Hello :)")

would terminate the alt text early. Mixing quote types would also work as valid markdown. This patch changes it so that the termination of an alt text is based off of the same quote as the starting quote.

See also: https://github.com/reddit/snudown/issues/10

vmg commented 12 years ago

:+1: