[ticket/11105] Added spaces between ; and "url=" to adhere to w3c conventions.

There was no space between ; and the string "url=". But according to w3c, we
should have atleast one space between them. So, added space characters
accordingly.

PHPBB3-11105
This commit is contained in:
gamerchan 2013-05-03 11:10:53 +05:30 committed by Andreas Fischer
parent f9325bfdeb
commit d680aac7c5
2 changed files with 2 additions and 2 deletions

View file

@ -2740,7 +2740,7 @@ function meta_refresh($time, $url, $disable_cd_check = false)
// For XHTML compatibility we change back & to &
$template->assign_vars(array(
'META' => '<meta http-equiv="refresh" content="' . $time . ';url=' . $url . '" />')
'META' => '<meta http-equiv="refresh" content="' . $time . '; url=' . $url . '" />')
);
return $url;

View file

@ -2087,7 +2087,7 @@ class install_convert extends module
// Because we should not rely on correct settings, we simply use the relative path here directly.
$template->assign_vars(array(
'S_REFRESH' => true,
'META' => '<meta http-equiv="refresh" content="5;url=' . $url . '" />')
'META' => '<meta http-equiv="refresh" content="5; url=' . $url . '" />')
);
}
}