Follow-up Comment #1, bug #648 (project tex4ht):
Thanks for the report. It seems that there are three issues:
- extra linebreak before the comment contents
- collapsed spaces
- missing highlighting
This config file should fix all of that:
\Preamble{xhtml}
\catcode`\:=11
\makeatletter
\pend:def\lst@escapebegin{\csname
b:listings-init\endcsname\nobreak\hbox\bgroup\lsthk@OutputBox}
\append:def\lst@escapeend{\lsthk@PostOutput\egroup\csname
a:listings-init\endcsname}
\makeatother
\catcode`\:=12
\begin{document}
\EndPreamble
_______________________________________________________
Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?648>
_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>