mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fixed link target
This commit is contained in:
parent
cc5701a193
commit
ad2bba586e
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user