diff --git a/src/paragraph_pimpl.C b/src/paragraph_pimpl.C index 09feac9534..5a192c33cf 100644 --- a/src/paragraph_pimpl.C +++ b/src/paragraph_pimpl.C @@ -390,7 +390,8 @@ void Paragraph::Pimpl::simpleTeXBlanks(odocstream & os, TexRow & texrow, if (style.pass_thru) return; - if (column > lyxrc.plaintext_linelen + if (lyxrc.plaintext_linelen > 0 + && column > lyxrc.plaintext_linelen && i && getChar(i - 1) != ' ' && (i < size() - 1)