bak
This commit is contained in:
1 parent
69a3a27348
commit
03f57cbaee
8 files changed
+136
-46
No files matched your search
@@ -6,8 +6,8 @@ import { state } from './state.js';
|
||||
marked.use({ breaks: true, gfm: true });
|
||||
|
||||
const purifyConfig = {
|
||||
ALLOWED_TAGS: ['h1','h2','h3','h4','h5','h6','p','br','hr','ul','ol','li','a','strong','em','del','code','pre','blockquote','table','thead','tbody','tr','th','td','img','input','span','div'],
|
||||
ALLOWED_ATTR: ['href','src','alt','width','height','type','checked','disabled','class','style','data-card-id','title'],
|
||||
ALLOWED_TAGS: ['h1','h2','h3','h4','h5','h6','p','br','hr','ul','ol','li','a','strong','em','del','code','pre','blockquote','table','thead','tbody','tr','th','td','img','input','span','div','audio','source'],
|
||||
ALLOWED_ATTR: ['href','src','alt','width','height','type','checked','disabled','class','style','data-card-id','title','controls','preload'],
|
||||
ALLOW_DATA_ATTR: true,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user