HTMLを綺麗に

This commit is contained in:
2025-11-08 18:12:08 +09:00
parent adaf7622ae
commit 8513c530f5
7 changed files with 114 additions and 103 deletions

View File

@@ -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);
}