mirror of
https://github.com/Ategon/Jamjar.git
synced 2025-02-12 06:16:21 +00:00
Fix links
This commit is contained in:
parent
0f8e0ff2fa
commit
44b027e8b2
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ export function sanitize(content: string) {
|
||||||
allowedAttributes: {
|
allowedAttributes: {
|
||||||
img: ["src", "style"],
|
img: ["src", "style"],
|
||||||
p: ["style"],
|
p: ["style"],
|
||||||
|
a: ["target", "rel", "href"],
|
||||||
},
|
},
|
||||||
allowedStyles: {
|
allowedStyles: {
|
||||||
img: {
|
img: {
|
||||||
|
|
Loading…
Reference in a new issue