Copied to clipboard

Flag this post as spam?

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


  • Carlos Mosqueda 185 posts 277 karma points
    Jan 02, 2019 @ 22:21
    Carlos Mosqueda
    0

    What happened to .StripHtml in Umbraco 7.12?

    Soooo, what happened to the incredibly useful .StripHtml in Umbraco 7?

    I saw a few posts that referenced using @Umbraco.StripHtml but that was a no-go because now the Razor is yellow screening saying that the reference of 'Umbraco' does not contain a definition of .StripHtml(). Is this true? Am I going to have to Reg-Ex this stuff?

  • Nicholas Westby 2005 posts 6843 karma points c-trib
    Jan 02, 2019 @ 22:46
    Nicholas Westby
    1

    Maybe you're not referencing a necessary namespace?

    What happens if you directly try calling global::Umbraco.Core.StringExtensions.StripHtml("someString")?

  • 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