Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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 https://github.com/umbraco/Umbraco-CMS/issues
Looking forward to hearing from you.
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
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted