Merge pull request #12940 from drarko/master
Fix extra quotes in custom tags in header
This commit is contained in:
commit
85301c8b85
1 changed files with 1 additions and 1 deletions
|
@ -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']).'>';
|
||||
|
|
Loading…
Reference in a new issue