Closed solimant closed 6 months ago
This PR omits HTML comments in Markdown documents from being indexed for search.
In certain circumstances, Markdown documents may contain HTML comments, such as:
<!-- Comment 1 --> Some text between comments <!-- Comment 2 --> Some more text
Indexing those comments is undesirable since those comments don't end up in the final rendered document.
This PR omits such comments so that only the target content is included in the search index.
This PR omits HTML comments in Markdown documents from being indexed for search.
Description
In certain circumstances, Markdown documents may contain HTML comments, such as:
Indexing those comments is undesirable since those comments don't end up in the final rendered document.
This PR omits such comments so that only the target content is included in the search index.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: