feat: add admin dashboard and core API routes with Docker configuration
This commit is contained in:
@@ -20,10 +20,10 @@ export function sanitizeHTML(html: string): string {
|
||||
allowedAttributes: {
|
||||
'a': ['href', 'target', 'rel'],
|
||||
'img': ['src', 'alt'],
|
||||
'*': ['class', 'style']
|
||||
'*': ['class']
|
||||
},
|
||||
selfClosing: ['img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta'],
|
||||
// Standard URLs only
|
||||
allowedSchemes: ['http', 'https', 'ftp', 'mailto', 'tel'],
|
||||
allowedSchemes: ['http', 'https', 'mailto', 'tel'],
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user