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 240 posts 431 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 2054 posts 7100 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")?

Please Sign in or register to post replies

Write your reply to:

Draft