Copied to clipboard

Flag this post as spam?

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


  • René Andersen 238 posts 684 karma points
    Jul 10, 2013 @ 15:52
    René Andersen
    0

    Rich Text Editor problem

    Hi

    I have encountered a problem with the Rich Text Editor and i don't know how to solve it. My problem is that when I publish the content from the Rich Text Editor it shows up html like "<p>, <br />". An when I view the page source it looks like this:

    <p>&lt;p&gt;Grundl&#230;ggende beskyttelse, men mere end blot et simpelt antivirusprogram!&lt;br /&gt;&lt;br /&gt;<p>


    But i should be like this:

    <p>Grundlæggende beskyttelse, men mere end blot et simpelt antivirusprogram!</p>

    Any idea whats wrong? I have never encountered this problem before.

    Kind regards

    René

  • Jeavon Leopold 3008 posts 13221 karma points MVP 7x admin c-trib
    Jul 10, 2013 @ 16:20
    Jeavon Leopold
    100

    Hi René,

    I think you just need to use:

     @Html.Raw(yourRichtextContent)

    Thanks,

    Jeavon

  • René Andersen 238 posts 684 karma points
    Jul 10, 2013 @ 16:27
    René Andersen
    0

    Hi Jeavon,

    Thank you that solved my problem. :-)

    Did you have nice trip to Denmark?

    René

  • Jeavon Leopold 3008 posts 13221 karma points MVP 7x admin c-trib
    Jul 10, 2013 @ 16:29
    Jeavon Leopold
    0

    Awesome! Yes, Codegarden was excellent, hope you can make it next year?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies