Open adrien-delhorme opened 3 years ago
Describe the bug The content inside html conditional comments is not excluded even though it is referenced in DJANGO_CHECK_SEO_EXCLUDE_CONTENT setting.
DJANGO_CHECK_SEO_EXCLUDE_CONTENT
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>
DJANGO_CHECK_SEO_EXCLUDE_CONTENT = ".catch-me-if-you-can"
.catch-me-if-you-can
Expected behavior .catch-me-if-you-can HTML tag is excluded.
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:
DJANGO_CHECK_SEO_EXCLUDE_CONTENT = ".catch-me-if-you-can"
in your settings.catch-me-if-you-can
HTML tag is not excludedExpected behavior
.catch-me-if-you-can
HTML tag is excluded.