You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdocs-jupyter integrates notebooks into mkdocs site. Its output, style etc are included in the search index, so the index file will be very large.
Bug description
"The cause seems to be that subsequent script/style/object tags are not skipped correctly due to mutations on the list of elements to be skipped. I'll issue a bugfix release when I get some time to work on it. Regardless, it's bad practice to include so many inline styles and scripts repeatedly in the page content – those inline scripts and styles should be moved to external resources." by @squidfunk
squidfunk
changed the title
Built-in search plugin script/style/object tags are not skipped correctly due to mutations on the list of elements to be skipped
Built-in search plugin doesn't properly filter script and style tags
Mar 14, 2023
Context
Based on this
mkdocs-jupyter integrates notebooks into mkdocs site. Its output, style etc are included in the search index, so the index file will be very large.
Bug description
"The cause seems to be that subsequent script/style/object tags are not skipped correctly due to mutations on the list of elements to be skipped. I'll issue a bugfix release when I get some time to work on it. Regardless, it's bad practice to include so many inline styles and scripts repeatedly in the page content – those inline scripts and styles should be moved to external resources." by @squidfunk
Related links
Reproduction
file:///home/david/Downloads/mkdocs-jupyter-search-main.zip
file:///home/david/Downloads/dump.html.zip
Steps to reproduce
make
make doc
Browser
Chrome
Before submitting
The text was updated successfully, but these errors were encountered: