Skip to content

Commit

Permalink
Merge pull request vibe-d#563 from MikeWey/md-image
Browse files Browse the repository at this point in the history
Don't prefix the image url with the Title.
  • Loading branch information
s-ludwig committed Mar 11, 2014
2 parents 4b9aa4d + 520e88d commit 6463988
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/vibe/textfilter/markdown.d
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,7 @@ private void writeMarkdownEscaped(R)(ref R dst, string ln, in LinkRef[string] li
Link link;
if( parseLink(ln, link, linkrefs) ){
dst.put("<img src=\"");
filterHTMLEscape(dst, link.title);
dst.put(link.url);
filterHTMLEscape(dst, link.url);
dst.put("\" alt=\"");
filterHTMLEscape(dst, link.text);
dst.put("\"");
Expand Down

0 comments on commit 6463988

Please sign in to comment.