Hi Nasser, Any idea what causes this?
thanks for the report. Paragraphs are handled incorrectly before the end of the algorithmicx environment. This config file should fix that: %%%%%%%%%%%%%% \Preamble{xhtml} \ConfigureEnv{algorithmic} {\ifvmode \IgnorePar\fi \EndP \HCode{<div class="algorithmic">}% \bgroup \Configure{HtmlPar} {\EndP} {\EndP} {} {}% } {\egroup \ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par\ShowPar } {}{} \begin{document} \EndPreamble %%%%%%%%%%%%%%%% I will add the fix to TeX4ht sources too. Best, Michal