1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

iss #727 fix incorrect encoding in link

This commit is contained in:
asmsuechan
2017-07-25 15:35:44 +09:00
parent 3185c25ee1
commit 0a27819a7f

View File

@@ -159,7 +159,8 @@ function strip (input) {
const markdown = {
render: function markdown (content) {
if (!_.isString(content)) content = ''
return md.render(content)
const renderedContent = md.render(content)
return md.normalizeLinkText(renderedContent)
},
strip
}