Skip to content

Commit 9c181a0

Browse files
authored
[Docs Site] Allow UI frameworks in filter-elements (#22361)
1 parent 31a1024 commit 9c181a0

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
@@ -95,6 +95,8 @@ const ALLOWED_ELEMENTS = [
9595
"tr",
9696
// Images
9797
"img",
98+
// UI frameworks (i.e React)
99+
"astro-island",
98100
// Custom elements
99101
"rule-id",
100102
"starlight-tabs",

0 commit comments

Comments
 (0)