First a little background information: In our system, we can configure a lot of things. Some of those things are HTML templates with variables that will be replaced by values from the database in our back-end. These variables are marked with brackets, such as `{title}`. If our database contains a field "title", the back-end will replace "{title}" with the actual value from the database in the HTML template.
In some cases, we want to add an inline css style on a HTML element with such a variable. However, Kendo Editor breaks this by removing the closing bracket. It only does this for inline styles, not for other attributes.
I can reproduce this problem on this demo page, by using the "View HTML" tool and pasting this source HTML there:
<div class="optionColor" style="background-color:{hexcolor};">Test</div>
If you click "Update" and then re-open the "View HTML" tool, the HTML will be this:
<div class="optionColor" style="background-color:{hexcolor;">Test</div>
I expect the HTML to stay the same here.
I have tried setting paste cleanup to "none", but that does not fix the problem (I thought that this might maybe be caused by some paste cleanup setting).
Is this a bug? Is there any way to fix this?