Skip to content

Commit b53d5d5

Browse files
authored
Use textContent instead of innerHTML for list of custom plugins (#3353)
1 parent ae31766 commit b53d5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/playground/src/sidebar/plugins.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const optionsPlugin: PluginFactory = (i, utils) => {
8181
}
8282
customPlugins().forEach(module => {
8383
const li = document.createElement("li")
84-
li.innerHTML = module
84+
li.textContent = module
8585
const a = document.createElement("a")
8686
a.href = "#"
8787
a.textContent = "X"

0 commit comments

Comments
 (0)