“[ !IE]” conditional comments in Haml
问题 In a HAML doc, I have: /[if IE] This is IE /[if !IE] This is not IE The first conditional evaluates properly in IE (and presumably in Firefox and Chrome, as "This is IE" does not render in those browsers). However, The second conditional does not seem to evaluate properly in Firefox or Chrome, as "This is not IE" is not rendered. I'm guessing I've done something wrong. Any ideas? 回答1: When using IE conditional comments, there are two different types you need to be aware of. First, when the