diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-12-18 18:44:44 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-18 18:44:44 +0100 |
commit | 85301c8b8516a738e86bde128c1599c1060195d5 (patch) | |
tree | 7e793f23090173b83bb03c0ace3b37c519d8b0ed | |
parent | 1ef01de40288518ada48ba29374f29e5d1a97f8e (diff) | |
parent | faaa1a89cb981b60fcc76102e38e135ced1998c1 (diff) | |
download | nextcloud-server-85301c8b8516a738e86bde128c1599c1060195d5.tar.gz nextcloud-server-85301c8b8516a738e86bde128c1599c1060195d5.zip |
Merge pull request #12940 from drarko/master
Fix extra quotes in custom tags in header
-rw-r--r-- | lib/private/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']).'</'.OC_Util::sanitizeHTML($header['tag']).'>'; |