-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Originally created in maizzle/framework by @mconnell
Discovered through an accident in the documentation..
The documentation for <outlook> (https://maizzle.com/docs/tags#outlook) lists an optional not attribute. Thinking that the <outlook> tag was emitting <!--[if mso|ie]> the thought was to apply the following:
<outlook not="ie">
Some markup
</outlook>Ignoring the documentation was slightly wrong, the potential bug/issue is that when an unexpected value is passed to the not attribute, the MSO conditional isn't rendered at all. Instead we just get:
Some markupI think the desired behaviour should be for the tag to ignore the bad value and still generate the conditional e.g.
<!--[if mso|ie]>
Some markup
<![endif]-->Metadata
Metadata
Assignees
Labels
No labels