mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
iss #727 fix incorrect encoding in link
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user