Copied to clipboard

Flag this post as spam?

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


  • pronto 61 posts 172 karma points
    Mar 15, 2016 @ 14:20
    pronto
    0

    Embedding JavaScript using the Markdown editor

    Hi all,

    I'm trying to use the Markdown Editor to embed some JavaScript code into my site via Umbraco, but I'm having trouble whenever CDATA is used in the code.

    I've used @Html.Raw to render the code properly (which for the most part works correctly), but whenever CDATA is used, all of the code following the closing angle bracket is cut off. What's weird is that there are other angle brackets in the code that doesn't produce the same problem so I'm at a loss!

    Does anyone know of a solution to this problem?

    Kind regards,

Please Sign in or register to post replies

Write your reply to:

Draft