Commit 64349604 authored by Jérome Perrin's avatar Jérome Perrin

code_mirror: escape html in the field

Editing a text containing </textarea> was breaking the field
parent 9978f146
......@@ -157,7 +157,7 @@
<div id="view" style="display: none;"></div>\n
\n
<dtml-if field_id>\n
<textarea id="&dtml-field_id;" name="&dtml-field_id;" style="display: none;"><dtml-var content></textarea>\n
<textarea id="&dtml-field_id;" name="&dtml-field_id;" style="display: none;"><dtml-var content html_quote></textarea>\n
</dtml-if>\n
\n
</div>\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment