Also pay attention to OutputParams::free_spacing.

This commit is contained in:
Richard Kimberly Heck 2019-01-03 19:16:48 -05:00
parent 6135824f40
commit ba8cf1a50b

View File

@ -3409,7 +3409,7 @@ docstring Paragraph::simpleLyXHTMLOnePar(Buffer const & buf,
} else {
char_type c = getUChar(buf.masterBuffer()->params(),
runparams, i);
if (c == ' ' && style.free_spacing)
if (c == ' ' && (style.free_spacing || runparams.free_spacing))
xs << XHTMLStream::ESCAPE_NONE << "&nbsp;";
else
xs << c;