mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 10:11:31 +10:00
Fix #2182
This commit is contained in:
@ -63,6 +63,8 @@ export const sanitize = (html: string, options?: sanitizeHtml.IOptions) => {
|
||||
allowedAttributes: {
|
||||
...options?.allowedAttributes,
|
||||
"*": ["class", "style"],
|
||||
"a": ["href", "target"],
|
||||
"img": ["src", "alt"],
|
||||
},
|
||||
allowedStyles: {
|
||||
...options?.allowedStyles,
|
||||
|
||||
Reference in New Issue
Block a user