提交 3d1b0a4b 编写于 作者: M Matt Bierner

Update comment

上级 cc06ab85
......@@ -127,7 +127,7 @@ function _renderHtml(content: IHTMLContentElement, options: RenderOptions = {}):
return '<img ' + attributes.join(' ') + '>';
};
renderer.link = (href, title, text): string => {
// Remove markdown escapes in href and title. Workaround for https://github.com/chjj/marked/issues/829
// Remove markdown escapes. Workaround for https://github.com/chjj/marked/issues/829
if (href === text) { // raw link case
text = removeMarkdownEscapes(text);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册