Item9121: Cannot write conditional IE code

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: AntonioTerceiro
Waiting For:
Last Change By: AntonioTerceiro
See http://www.quirksmode.org/css/condcom.html for an explanation of what is Condition IE Code

Being able to add conditional IE code is essential to make some things work with that doomed browser which unfortunately is used by a lot of people. Currently it is not possible to do it in Foswiki because some parts of it are being escaped.

For example, if I write

<!-- [if IE]>
Hello IE
<![endif]-->

it gets rendered as

<!-- [if IE]&gt;
Hello IE
&lt;![endif]-->

This happens both in regular topic text and in content rendered by plugins. This problem is currently breaking FlotChartPlugin on IE (see Item9120).

-- AntonioTerceiro - 07 Jun 2010

I have the impression that this was introduced recently, because I had one site using FlotChartPlugin and it used to work on IE ...

-- AntonioTerceiro - 07 Jun 2010

Use =<literal> tags. e.g. if this is IE, you will see "AAAARRRRGGGGHHHH" here:

It's always been that way. No action required.

-- CrawfordCurrie - 08 Jun 2010

ok, Crawford, thanks for the info.

-- AntonioTerceiro - 09 Jun 2010
 

ItemTemplate edit

Summary Cannot write conditional IE code
ReportedBy AntonioTerceiro
Codebase 1.0.9, trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r3 - 09 Jun 2010, AntonioTerceiro
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy