HTML & SSI variables

Discussion in 'HTML' started by Michael H., Jun 29, 2004.

  1. Michael H.

    Michael H. Guest

    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.



    --
    GCS dx s+: a-- C++$ UL P+++(PHP) L+ E? W++ N++ o-- K- w O? M? V? PS PE Y+
    PGP>+ t+ 5++(+++) X+(--) R+ tv+ b+++ Dl D+ G e+ h--(---) r++ y+
    http://www.geekcode.com
     
    Michael H., Jun 29, 2004
    #1
    1. Advertising

  2. Michael H.

    Michael H. Guest

    "Michael H." <> wrote in
    news:Xns95175B86DD840michaelhaszprunaricn@139.25.208.17:

    > 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.

    --
    GCS dx s+: a-- C++$ UL P+++(PHP) L+ E? W++ N++ o-- K- w O? M? V? PS PE Y+
    PGP>+ t+ 5++(+++) X+(--) R+ tv+ b+++ Dl D+ G e+ h--(---) r++ y+
    http://www.geekcode.com
     
    Michael H., Jun 29, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JJ

    Home-made SSI chips

    JJ, Sep 21, 2003, in forum: VHDL
    Replies:
    8
    Views:
    7,773
    james
    Sep 27, 2003
  2. Xanathos
    Replies:
    0
    Views:
    466
    Xanathos
    Feb 2, 2005
  3. Bernardo Heynemann

    SSI Equivalent

    Bernardo Heynemann, Dec 1, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    516
    Chris Jackson
    Dec 1, 2003
  4. Eranga Udesh

    Howto get the current file path with SSI

    Eranga Udesh, Apr 5, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,107
    Aaron Bertrand [MVP]
    Apr 6, 2004
  5. =?Utf-8?B?V2ViR3V5Qm9i?=

    SSI Hierarchy and Implementation

    =?Utf-8?B?V2ViR3V5Qm9i?=, Jun 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    407
    John Saunders
    Jun 8, 2004
Loading...

Share This Page