With Latte 2.4 I've run into problems with blocks inside of (conditional) HTML comments.
Let's say, I have @layout.latte template like this:
<body>
{include content}
<!--[if IE]>
{block onlyIE}{/block}
<![endif]-->
</body>
If I override onlyIE block in a page template I get User Warning: Overridden block onlyIE with content type HTMLCOMMENT by incompatible type HTML.
Also, I get similar warning if I try to include a block: Including block onlyIE with content type HTML into incompatible type HTMLCOMMENT.
IMO, there isn't any reason this shouldn't be allowed. Is it?
With Latte 2.4 I've run into problems with blocks inside of (conditional) HTML comments.
Let's say, I have
@layout.lattetemplate like this:If I override
onlyIEblock in a page template I get User Warning:Overridden block onlyIE with content type HTMLCOMMENT by incompatible type HTML.Also, I get similar warning if I try to include a block:
Including block onlyIE with content type HTML into incompatible type HTMLCOMMENT.IMO, there isn't any reason this shouldn't be allowed. Is it?