How do I get rid of the additional line inserted at the end of a TEX or XML environment?
\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