File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change 33 < head >
44 < meta charset ="utf-8 " />
55 < meta name ="apple-mobile-web-app-capable " content ="yes " />
6- < meta name ="generator " content ="slidesdown 1.2.2 " />
6+ < meta name ="generator " content ="slidesdown 1.2.3 " />
77 < link href ="https://slidesdown.github.io " rel ="canonical " />
88 < meta content ="Slidesdown " property ="og:title " />
99 < meta content ="Presentations at the speed of Markdown " name ="description " />
Original file line number Diff line number Diff line change @@ -43,31 +43,11 @@ const SANITIZE = (string) =>
4343 ADD_TAGS : [
4444 "#comment" , // comments are vital for configuring revealjs
4545 "foreignObject" , // unfortunately some mermaid diagrams use it, despite being a potential security risk: https://github.com/cure53/DOMPurify/issues/469
46+ "iframe" , // allow iframes
4647 ] ,
4748 ADD_ATTR : [
4849 "target" ,
4950 ] ,
50- CUSTOM_ELEMENT_HANDLING : {
51- tagNameCheck : ( tagName ) =>
52- [
53- "fa-i" ,
54- "flex-box" ,
55- "v-box" ,
56- "h-box" ,
57- "grid-box" ,
58- "columns-2" ,
59- "columns-3" ,
60- "columns-4" ,
61- "columns-5" ,
62- "columns-6" ,
63- ] . includes ( tagName ) ,
64- attributeNameCheck : ( name ) =>
65- [
66- "class" ,
67- "style" ,
68- "styles" ,
69- ] . includes ( name ) ,
70- } ,
7151 } ,
7252 ) ;
7353
You can’t perform that action at this time.
0 commit comments