Closed lachko closed 3 years ago
We should escape input and then unescape it when presenting prior input. This is true for any place we are taking user input in tangy form editor. There are probably many more places where double quotes can break a form.
Here is the example: https://glitch.com/edit/#!/atlantic-torpid-beluga?path=index.html%3A14%3A15
Open the item, edit the tangy-radio-butons, then save the radio buttons. Notice how markup gets removed.
Confirm fixed
HTML code in the option value of a form's radio button or checkbox option breaks the form
If we add an input as below and then open this input in Edit mode and save. The form is broken and all code moves to an HTML container.