From 7286353e219eacb66d031384784bc3b3c9b637a0 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Thu, 23 Apr 2015 12:29:32 -0500 Subject: [PATCH] oops: Fix glitch if signature has html attributes --- include/staff/templates/thread-entry-edit.tmpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/staff/templates/thread-entry-edit.tmpl.php b/include/staff/templates/thread-entry-edit.tmpl.php index 60dfe5523..e1ed1f81c 100644 --- a/include/staff/templates/thread-entry-edit.tmpl.php +++ b/include/staff/templates/thread-entry-edit.tmpl.php @@ -27,7 +27,7 @@ data-dept-id="<?php echo $dept->getId(); ?>" data-poster-id="<?php echo $this->entry->staff_id; ?>" data-signature-field="signature" - data-signature="<?php echo Format::viewableImages($signature); ?>" + data-signature="<?php echo Format::htmlchars(Format::viewableImages($signature)); ?>" <?php } ?> name="body" class="large <?php -- GitLab