summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_export/fields.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/mods/mod_export/fields.phtml b/views/mods/mod_export/fields.phtml
index cf84a50..1ded334 100644
--- a/views/mods/mod_export/fields.phtml
+++ b/views/mods/mod_export/fields.phtml
@@ -94,7 +94,7 @@
jQuery('#field_typ_<?php echo $f_id; ?>').wpsg_editable('<?php echo $inlineEdit_url; ?>', {
'type': 'multiarray',
- 'data': '<?php echo json_encode($this->view['fields']); ?>'
+ 'data': '<?php echo addslashes(json_encode($this->view['fields'], JSON_UNESCAPED_SLASHES)); ?>'
} );
jQuery('#field_format_<?php echo $f_id; ?>').wpsg_editable('<?php echo $inlineEdit_url; ?>', {