HTMLを綺麗に
This commit is contained in:
@@ -42,7 +42,7 @@ class Template {
|
||||
*/
|
||||
public function addCss(string $name): void {
|
||||
$this->custCss[] =
|
||||
'<link rel="stylesheet" type="text/css" href="/static/style-'.$name.'.css" />';
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/style-{$name}.css\" />\n";
|
||||
$this->assign('custCss', $this->custCss);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user