Copied to clipboard

Flag this post as spam?

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

  • Alan Falloon 9 posts 119 karma points
    Feb 05, 2019 @ 00:10
    Alan Falloon

    You have unsaved changes

    Sometimes I get the "You have unsaved changes" popup, even when nothing has changed.

    The kind of content just has the rte with a few plug ins and some other default stuff.

    Is there anything that can be done about this? How can I debug it?

    Thanks in advance

  • Jan Skovgaard 11239 posts 23375 karma points MVP 6x admin c-trib
    Feb 06, 2019 @ 16:27
    Jan Skovgaard

    Hi Alan

    What exact version of Umbraco are you using? I know there have been a few bugs fixed regarding this but I don't think they're all eliminated though so it could be nice to know your exact version and whether a bug has already been fixed or if a bug report for the same issue as yours already exists at the issue tracker

    Looking forward to hearing from you.


  • Alan Falloon 9 posts 119 karma points
    Feb 17, 2019 @ 22:13
    Alan Falloon

    Hi Jan, thanks for getting back to me


    We had saving event that was modifying the source HTML and replacing <br> with <br /> (or vice versa I cant remember)

    The problem was to do with HtmlDocument from HTML Agility Pack and the solution was to tell it to write the empty nodes, e.g.

    var exampleHTML = new HtmlDocument
        OptionWriteEmptyNodes = true
Please Sign in or register to post replies

Write your reply to: