In TeX4ht, \’’\begin{...}’ and \’’\end{...}’ are redefined
to \’’\SaveEverypar\begin{...}’ and \’’\end{...}\RecallEverypar’
so it is pointless to directly deal with paragraph breaks
and saving. Since the saving and recalling are global
operations (in a pushdown fashion), the following
redefine the saved environment to eliminate
paragraph breaks after the environment.
WE HAVE here a problem if someone goes directly, e.g., for
\’’\quotation...\endquotation’ instead of
\’’\begin{quotation}...\end{quotation}’. On the other hand,
LaTeX doesn’t mention the first case as an option.