html [ body [ h1 [ 'escaping of attributes and strings' ], div ( style = 'width: 400px;' ) [ p ( class_ = 'foo' ) [ message, '&&&' ], # entities (like &) p [ 'Coffee', E.nbsp, E.amp, E.nbsp, 'cream' ], xml ( '''this should be unescaped & unaltered.''' ) ] ] ]