Skip to content

Html conditional comment - opening and closing in two tags #30

@dios1101

Description

@dios1101

Code below brokes when minified. Html conditional comments in two comment tags (opening and closing) not working.

Example of not supported html :

<!--[if !IE]><!-->
<html lang="fr">
<!--<![endif]-->

More complex example:

<!DOCTYPE html>
<!--[if IE 8]> <html lang="fr" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="fr" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="fr">
<!--<![endif]-->

....

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions