Hi,

How do I get rid of the additional line inserted at the end of a TEX or XML environment?

Minimal working example:

\starttext

\setuptyping[TEX][before=,after=] % <- trailing interline space
\hrule
\startTEX
\TeX
\stopTEX
\hrule

\medskip

\setuptyping[XML][before=,after=] % <- trailing interline space
\hrule
\startXML
<tag></tag>
\stopXML
\hrule

\medskip

\setuptyping[before=,after=] % <- works as expected
\hrule
\starttyping
\TeX
\stoptyping
\hrule

\stoptext

Thank you for any advice!

Christoph