From: Richard Kimberly Heck Date: Fri, 4 Jan 2019 00:12:58 +0000 (-0500) Subject: Fix bug #11432. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=99c4fc1c921c9962afa8a3f89c9428fffcb47cf1;p=features.git Fix bug #11432. Take account of Layout::free_spacing. --- diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 5bad896dfd..d1197e639e 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -3409,7 +3409,10 @@ docstring Paragraph::simpleLyXHTMLOnePar(Buffer const & buf, } else { char_type c = getUChar(buf.masterBuffer()->params(), runparams, i); - xs << c; + if (c == ' ' && style.free_spacing) + xs << XHTMLStream::ESCAPE_NONE << " "; + else + xs << c; } font_old = font.fontInfo(); }