Skip to content

Commit fd3ba2e

Browse files
KianNHMaddy-Cloudflare
authored andcommitted
[Docs Site] Allow details and summary elements in filter-elements (#22162)
1 parent 2c625b7 commit fd3ba2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plugins/rehype/filter-elements.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const ALLOWED_ELEMENTS = [
2121
"address",
2222
"article",
2323
"aside",
24+
"details",
2425
"footer",
2526
"header",
2627
"h1",
@@ -39,6 +40,7 @@ const ALLOWED_ELEMENTS = [
3940
"div",
4041
"dl",
4142
"dt",
43+
"summary",
4244
// "figcaption",
4345
"figure",
4446
"hr",

0 commit comments

Comments
 (0)