diff options
-rw-r--r-- | src/markdown.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index f070125..6c5b4c8 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -901,7 +901,8 @@ static int processLink(GrowBuf &out,const char *data,int,int size) out.addStr("\""); } out.addStr(">"); - out.addStr(content.simplifyWhiteSpace()); + content = content.simplifyWhiteSpace(); + processInline(out,content,content.length()); out.addStr("</a>"); } else // avoid link to e.g. F[x](y) |