Skip to content

Commit 2bf4e33

Browse files
authored
Merge pull request #88 from vmrfriz/patch-1
Fixing the font output
2 parents 2c632d3 + 9cb12c6 commit 2bf4e33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Html/Font.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ public function toStyle(): string {
1414
if($this->name) array_push($list, $this->name);
1515
if($this->family) array_push($list, $this->family);
1616
if(sizeof($list) == 0) return "";
17-
return "font-family:" . join($list, ',') . ";";
17+
return "font-family:" . join(' ', $list) . ";";
1818
}
19-
}
19+
}

0 commit comments

Comments
 (0)