diff --git a/basis/help/html/html.factor b/basis/help/html/html.factor
index f88a2510b4..97f4dfcef4 100644
--- a/basis/help/html/html.factor
+++ b/basis/help/html/html.factor
@@ -94,7 +94,7 @@ M: pathname url-of
: css-classes ( classes -- stylesheet )
[
- [ " { " " }" surround ] [ "." prepend ] bi* prepend
+ [ " { " "}" surround ] [ "." prepend ] bi* prepend
] { } assoc>map "\n" join ;
:: css-styles-to-classes ( body -- stylesheet body )
diff --git a/basis/html/streams/streams.factor b/basis/html/streams/streams.factor
index acb28d2081..978ae1e0ef 100644
--- a/basis/html/streams/streams.factor
+++ b/basis/html/streams/streams.factor
@@ -121,7 +121,7 @@ CONSTANT: pre-css "white-space: pre; font-family: monospace;"
{ inset padding-css, }
} make-css
] [ wrap-margin of [ pre-css append ] unless ] bi
- " display: inline-block;" append ;
+ "display: inline-block; " append ;
: div-tag ( xml style -- xml' )
div-css-style