mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-24 17:11:43 +00:00
sanitized url
This commit is contained in:
parent
3711cdf647
commit
ee35d23f27
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ export default (order) => { return {
|
||||||
|
|
||||||
html: function(node, output) {
|
html: function(node, output) {
|
||||||
return SimpleMarkdown.htmlTag("a", output(node.content), {
|
return SimpleMarkdown.htmlTag("a", output(node.content), {
|
||||||
href: node.url,
|
href: SimpleMarkdown.sanitizeText(SimpleMarkdown.sanitizeUrl(node.url)),
|
||||||
class: "link",
|
class: "link",
|
||||||
target: "_blank"
|
target: "_blank"
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue