Cascade stripping IE conditional statements on publish.
When I insert an IE conditional such as <!--[if
!IE]>Not IE <![endif]-->
into a format, it strips
it on publish. How can I get Cascade to not touch my code. Tried
<!--#START-CODE #END-CODE-->
.. no go
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tim on 09 Feb, 2011 07:03 PM
My guess is that you are using an XSLT Format as opposed to a Velocity Format. Is that correct? If you enter
<!--[if !IE]>Not IE <![endif]-->
directly into an XSLT Format, the XSL processor will view this as a comment in the XSL document and will not output the comment on your rendered page. If this is the case, try something like this:This should create an HTML comment in the resulting transformation.
I was able to do this and publish without any problems. If you continue to have problems, let me know which version of Cascade Server you are running along with what type of Format you are using.
Thanks
2 Posted by turnerjd on 09 Feb, 2011 07:51 PM
Thx Tim I'll try that out!
Tim closed this discussion on 14 Apr, 2011 08:14 PM.