- Issue created by @mabho
- Status changed to Fixed
5 months ago 5:09pm 30 June 2024 - Status changed to Fixed
5 months ago 5:10pm 30 June 2024
The current approach is not the most performant (using document.querySelectorAll()
). Besides this, the current approach is not covering comments for element html
. Its comments are rendered before the first DOM element opening, thus causing it not to be displayed.
Change the approach to use document.createTreeWalker()
, which should also be more performant.
Update the code to use document.createTreeWalker()
instead of document.querySelectorAll()
.
Fixed
1.0
Code