HTML & SSI variables

M

Michael H.

Hi,

I've a big problem: I want to store HTML-code in a SSI variable but when
outputting the value, everything get'S converted like < to &lt; and > to
&gt;

So my question: Can I avoid this "feature" in any way or do I have to solve
my problem another way (maybe you have a solution?)

Thx 4 your help,
Michael H.
 
M

Michael H.

Hi,

I've a big problem: I want to store HTML-code in a SSI variable but
when outputting the value, everything get'S converted like < to &lt;
and > to &gt;

So my question: Can I avoid this "feature" in any way or do I have to
solve my problem another way (maybe you have a solution?)

Thx 4 your help,
Michael H.

Just figured it out myself. Solution is:

<!--#set var="test" value="<u>my underlined text</u>" -->
<!--#echo encoding="none" var="test" -->

Michael H.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top