There is an option whether compressing whitespace or not.
Here is source comment
// We're compressing the space if this paragraph wasn't inside <PRE> tag// But if the translator does not translate the paragraph,// then we write out the uncompressed version,// as documented in// https://sourceforge.net/p/omegat/bugs/108/// The spaces that are around the segment are not removed, unless// compressWhitespace option is enabled. Then the spaces are compressed to max 1.// (This changes the layout, therefore it is an option. NB: an alternative implementation is to compress by// default, and use Core.getFilterMaster().getConfig().isPreserveSpaces() option instead to compress if// not checked.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What file type does reproduce a case? HTML?
OmegaT preserve whitespace when translator does not translate
https://sourceforge.net/p/omegat/bugs/108/
There is an option whether compressing whitespace or not.
Here is source comment