mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 1575549: revert !MayWrap()
check which was unintentionally added in Bug 1574912. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42844 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
cf20303f06
commit
69a2fc5f69
@ -1470,7 +1470,7 @@ void nsPlainTextSerializer::Write(const nsAString& aStr) {
|
||||
// that does normal formatted text. The one for preformatted text calls
|
||||
// Output directly while the other code path goes through AddToLine.
|
||||
if ((mPreFormattedMail && !mWrapColumn) ||
|
||||
(IsElementPreformatted() && !mPreFormattedMail && !MayWrap()) ||
|
||||
(IsElementPreformatted() && !mPreFormattedMail) ||
|
||||
(mSpanLevel > 0 && mEmptyLines >= 0 && IsQuotedLine(str))) {
|
||||
// No intelligent wrapping.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user