We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db6598 commit 3d47422Copy full SHA for 3d47422
readthedocs/search/parsers.py
@@ -79,7 +79,7 @@ def _clean_body(self, body):
79
This will mutate the original `body`.
80
"""
81
# Remove all navigation nodes
82
- nodes_to_be_removed = body.css('div[role=navigation]')
+ nodes_to_be_removed = body.css('[role=navigation]')
83
for node in nodes_to_be_removed:
84
node.decompose()
85
0 commit comments