Comments in Markdown file shown in search results snippet
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 890
- Avg merge
- 2h 11m
- Merged PRs (30d)
- 10
Description
**DocFX Version Used**:
2.38
**Template used**: (`default` or `statictoc` or contain custom template)
Custom
**Steps to Reproduce**:
1. Comment out text in Markdown file:

2. Build and publish
3. Open article in built website - no comments are shown:

4. Search for article - comments are shown in snippet):

--
**Expected Behavior**:
That commented-out text is not shown in search results preview snippet
**Actual Behavior**:
Commented-out text is shown in search results preview snippet
Contributor guide
Assessment
This issue has not been assessed yet.