question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conditional comments bug

See original GitHub issue

Hello! Found a bug with using https://github.com/jonschlinkert/gulp-htmlmin

“processConditionalComments: true” works fine for

<!--[if (gte mso 9)|(IE)]><table width="100%" align="center"><tr><td width="250"><![endif]-->

and for

`<!–[if (gte mso 9)|(IE)]>

<![endif]-->`

but in this construction

`<!–[if (gte mso 9)|(IE)]>

<![endif]-->`

I’m loosing all code between conditional comments.

Catched this bug in my email development framework https://github.com/dudeonthehorse/kilogram

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Chariyskicommented, Jun 16, 2016

@addaleax I’m sorry. I made a mistake with @alexlamsl nick. Have a nice day.

0reactions
alexlamslcommented, Jun 26, 2016

Closing as the behaviour described is not specific to conditional comments.

Feel free to provide more in-depth examples and reopen this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why “Conditional Comments” Are Bad, Repeat: Bad
Generally, there's only one case where Conditional Comments might not become a problem: When you're a one-man-show who's responsible for HTML ...
Read more >
124751 - Conditional Comments on Mozilla?
One way to attack IE conditional comments without polluting the comment parsing logic might be through feature request: Bug 86504 (HTML Filter with...
Read more >
Using Conditional Comments to Fix IE Bugs - Vanseo Design
Using Conditional Comments to Fix IE Bugs. by Steven Bradley ... Fortunately it's not too hard to workaround the problem.
Read more >
Conditional comments - CSS - QuirksMode
Conditional comments only work in IE, and are thus excellently suited to ... do not rely on one browser bug to solve another...
Read more >
Conditional comment - Wikipedia
Conditional comments are conditional statements interpreted by Microsoft Internet Explorer versions 5 through 9 in HTML source code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found