From faaa1a89cb981b60fcc76102e38e135ced1998c1 Mon Sep 17 00:00:00 2001 From: drarko Date: Thu, 18 Dec 2014 12:40:08 -0300 Subject: Fix extra quotes in custom tags in header Fix #12939 --- lib/private/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/private/template.php b/lib/private/template.php index bda802fd2e2..78ebb506385 100644 --- a/lib/private/template.php +++ b/lib/private/template.php @@ -122,7 +122,7 @@ class OC_Template extends \OC\Template\Base { foreach(OC_Util::$headers as $header) { $headers .= '<'.OC_Util::sanitizeHTML($header['tag']); foreach($header['attributes'] as $name=>$value) { - $headers .= ' "'.OC_Util::sanitizeHTML($name).'"="'.OC_Util::sanitizeHTML($value).'"'; + $headers .= ' '.OC_Util::sanitizeHTML($name).'="'.OC_Util::sanitizeHTML($value).'"'; } if ($header['text'] !== null) { $headers .= '>'.OC_Util::sanitizeHTML($header['text']).''; -- cgit v1.2.3