] make-html-string
] unit-test
-[ "<div style=\"background-color: #ff00ff; white-space: pre; font-family: monospace;\">cdr</div>" ]
+[ "<div style=\"background-color: #ff00ff; white-space: pre; font-family: monospace; display: inline-block;\">cdr</div>" ]
[
[
H{ { page-color T{ rgba f 1 0 1 1 } } }
] make-html-string
] unit-test
-[ "<div style=\"white-space: pre; font-family: monospace;\"></div>" ] [
+[ "<div style=\"white-space: pre; font-family: monospace; display: inline-block;\"></div><br/>" ] [
[ H{ } [ ] with-nesting nl ] make-html-string
] unit-test
{ inset padding-css, }
} make-css
] [ wrap-margin swap at [ pre-css append ] unless ] bi
- "display: inline-block;" append ;
+ " display: inline-block;" append ;
: div-tag ( xml style -- xml' )
div-css-style