Describe the bug
The content inside html conditional comments is not excluded even though it is referenced in DJANGO_CHECK_SEO_EXCLUDE_CONTENT setting.
To Reproduce
Steps to reproduce the behavior:
Considering the following template:
<body>
<!--[if lt IE 8]>
<p class="catch-me-if-you-can"></p>
<![endif]-->
</body>
- Add
DJANGO_CHECK_SEO_EXCLUDE_CONTENT = ".catch-me-if-you-can" in your settings
- Click on "Check SEO" toolbar button
- Check the "Raw data" section
- See that
.catch-me-if-you-can HTML tag is not excluded
Expected behavior
.catch-me-if-you-can HTML tag is excluded.