1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-21 14:19:42 +02:00

Add escape for editor input data (#83)

This commit is contained in:
Taly 2019-03-31 19:30:23 +03:00 committed by GitHub
parent 568e980f86
commit c16493130d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@
<section data-module="writing"> <section data-module="writing">
<textarea name="module-settings" hidden> <textarea name="module-settings" hidden>
{ {
"page": {{ page | json_encode }} "page": {{ page | json_encode | escape }}
} }
</textarea> </textarea>
<header class="writing-header"> <header class="writing-header">