We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd73ef1 commit 2c7b0a3Copy full SHA for 2c7b0a3
material/plugins/search/plugin.py
@@ -432,7 +432,8 @@ def handle_endtag(self, tag):
432
# Remove element from skip list
433
el = self.context.pop()
434
if el in self.skip:
435
- self.skip.remove(el)
+ if el.tag not in ["script", "style", "object"]:
436
+ self.skip.remove(el)
437
return
438
439
# Render closing tag if kept
src/plugins/search/plugin.py
0 commit comments