function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ollie123ollie123 

Render markup with force.com screwing with it?

I need to render some markup (conditional CSS) from a force.com app. I've tried putting it into the page, and into an outputtext tag, but both muck about with the markup.

 

This:

<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="css/lt7.css" media="screen"/><![endif]-->

 

Gets changed to this:

<!--*****************************************************************************************--> 

 

i.e. all the content between the comment tags is converted to "*" characters. A really daft decision IMHO - if we're that bothered about hiding comments we'll do it ourselves, I don't need the platform to make these decisions for me.

 

Deeply unhelpful.

 

How do I send a string through to the client without ANY processing?