Closed cspiel closed 4 years ago
A HTML-generation bug has been introduced with #34
Problem:
Dest.open_group "code class=\"verb\""
constructs the HTML group
<code class="verb"> ... </code class="verb">
which is invalid HTML as closing elements never have attributes.
Solution: Use Dest.open_block which allows to pass an attribute.
Dest.open_block
En passant: Associate \verb with CSS-class verb via \setenvclass.
\verb
verb
\setenvclass
A HTML-generation bug has been introduced with #34
Problem:
constructs the HTML group
which is invalid HTML as closing elements never have attributes.
Solution: Use
Dest.open_block
which allows to pass an attribute.En passant: Associate
\verb
with CSS-classverb
via\setenvclass
.