From 2240551e4dbdefdf9ac1d5e0a6a6021d0ee3a921 Mon Sep 17 00:00:00 2001 From: hpaelike Date: Sat, 16 Jul 2022 14:07:39 +0200 Subject: [PATCH] add missing length unit to width and height attributes --- Sources/TokamakStaticHTML/Shapes/Path.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/TokamakStaticHTML/Shapes/Path.swift b/Sources/TokamakStaticHTML/Shapes/Path.swift index 1938f5d94..e93148b24 100644 --- a/Sources/TokamakStaticHTML/Shapes/Path.swift +++ b/Sources/TokamakStaticHTML/Shapes/Path.swift @@ -149,8 +149,8 @@ extension Path: _HTMLPrimitive { height: 100%; """ : """ - width: \(max(0, size.width)); - height: \(max(0, size.height)); + width: \(max(0, size.width))px; + height: \(max(0, size.height))px; """ }