Copied to clipboard

Flag this post as spam?

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


  • Michiel 30 posts 61 karma points
    Feb 14, 2012 @ 17:10
    Michiel
    0

    Library.StripHtml on TinyMCE cuts content of.

    I've got a problem with Library.StripHtml on the TinyMCE output.

    When there is a link in the content that is comming from the TinyMCE the StripHtml just cuts of the content from that point.

    You can see what I mean here http://beta.bluebased.com/nieuws.aspx

    The rest of the second news item is just cut of after the link.

    And the Library.Truncate won't work cause it doesn't see enough caracters to truncate.

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 14, 2012 @ 17:15
    Jeroen Breuer
    0

    Hmm that is strange. Perhaps you can try a different StripHtml method to see if that works? Here are some: http://ucomponents.codeplex.com/wikipage?title=Strings&referringTitle=Documentation

    Jeroen

  • Michiel 30 posts 61 karma points
    Feb 14, 2012 @ 17:22
    Michiel
    0

    Thx, but I'm working with razor snippets.

    I found this in the forum after I posted (sorry bout that) http://our.umbraco.org/forum/developers/razor/24434-LibraryStripHtml-v-471

    But I'm not sure where and how to implement that. Can any help with that?

  • 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