Switch to unified view
a/src/query/plaintorich.cpp | b/src/query/plaintorich.cpp | ||
---|---|---|---|
... |
... |
||
433 | // Do line break; |
433 | // Do line break; |
434 | hadcr = 0; |
434 | hadcr = 0; |
435 | if (eol > 2) |
435 | if (eol > 2) |
436 | eol = 2; |
436 | eol = 2; |
437 | while (eol) { |
437 | while (eol) { |
438 | if (!m_inputhtml && m_eolbr) |
||
439 | *olit += "<br>"; |
||
438 | *olit += "\n"; |
440 | *olit += "\n"; |
439 | eol--; |
441 | eol--; |
440 | } |
442 | } |
441 | // Maybe end this chunk, begin next. Don't do it on html |
443 | // Maybe end this chunk, begin next. Don't do it on html |
442 | // there is just no way to do it right (qtextedit cant grok |
444 | // there is just no way to do it right (qtextedit cant grok |