Fixed link target

This commit is contained in:
Grzegorz Leoniec 2019-02-06 17:20:38 +01:00
parent cc5701a193
commit ad2bba586e
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -53,15 +53,15 @@ function clean (dirty) {
h4: 'h4',
h5: 'strong',
i: 'em',
// a: function (tagName, attribs) {
// return {
// tagName: 'a',
// attribs: {
// href: attribs.href,
// target: '_blank',
// }
// }
// },
a: function (tagName, attribs) {
return {
tagName: 'a',
attribs: {
href: attribs.href,
target: '_blank'
}
}
},
b: 'strong',
s: 'strike',
img: function (tagName, attribs) {