1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #728 from asmsuechan/iss-727

iss #727 fix incorrect encoding in link
This commit is contained in:
SuenagaRyota
2017-07-25 15:59:28 +09:00
committed by GitHub

View File

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