Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • saintwright 69 posts 77 karma points
    Apr 04, 2009 @ 07:08
    saintwright
    0

    Displaying HTML tags

    Hi - I am new to Umbraco - but not to .NET, I am not sure if my issue is an XSLT one.

    I have an XSLT file that displays a lits of products (image, title and produtText). All good, just followed the News and Events example on CWS.


    I have set the productText as an rte field in the doc type. The productText needs to be in bulleted list format (

    • , however if I add a bulleted list in the Content area, the HTML tags get printed out, e.g.

      Custom Printed Tapes
      • Product detail
      • Product detail
      • Product detail
      • Product detail
      • Product detail



      how do I get the
      • to be displayed properly?


        Thanks

        S

  • David Conlisk 432 posts 1008 karma points
    Apr 04, 2009 @ 11:15
    David Conlisk
    0

    Hi saintwright,

    You can add the disable-output-escaping attribute to your xslt where you output the value of the rte field:

    [code]

    [/code]

    That should solve your problem.

    David

  • saintwright 69 posts 77 karma points
    Apr 05, 2009 @ 00:46
    saintwright
    0

    Thanks that worked - reckon I need to go over some XSLT - its been a while.

    Thanks


    S

Please Sign in or register to post replies

Write your reply to:

Draft