@@ -776,7 +776,8 @@ nsresult nsPlainTextSerializer::DoOpenContainer(const nsAtom* aTag) {
776776 if (NS_SUCCEEDED(rv)) mOLStack [mOLStackIndex - 1 ] = valueAttrVal;
777777 }
778778 // This is what nsBulletFrame does for OLs:
779- mCurrentLine .mIndentation .mHeader .AppendInt (mOLStack [mOLStackIndex - 1 ]++, 10 );
779+ mCurrentLine .mIndentation .mHeader .AppendInt (
780+ mOLStack [mOLStackIndex - 1 ]++, 10 );
780781 } else {
781782 mCurrentLine .mIndentation .mHeader .Append (char16_t (' #' ));
782783 }
@@ -1006,7 +1007,8 @@ nsresult nsPlainTextSerializer::DoCloseContainer(const nsAtom* aTag) {
10061007 bool isInCiteBlockquote = PopBool (mIsInCiteBlockquote );
10071008
10081009 if (isInCiteBlockquote) {
1009- NS_ASSERTION (mCurrentLine .mCiteQuoteLevel , " CiteQuote level will be negative!" );
1010+ NS_ASSERTION (mCurrentLine .mCiteQuoteLevel ,
1011+ " CiteQuote level will be negative!" );
10101012 mCurrentLine .mCiteQuoteLevel --;
10111013 mFloatingLines = 0 ;
10121014 mHasWrittenCiteBlockquote = true ;
@@ -1595,17 +1597,16 @@ void nsPlainTextSerializer::Write(const nsAString& aStr) {
15951597 (mSpanLevel > 0 && mEmptyLines >= 0 && IsQuotedLine (str))) {
15961598 // No intelligent wrapping.
15971599
1598- // This mustn't be mixed with intelligent wrapping without clearing
1599- // the mCurrentLine.mContent buffer before!!!
1600- NS_ASSERTION (
1601- mCurrentLine .mContent .IsEmpty() ||
1602- (IsElementPreformatted() && !mPreFormattedMail),
1603- "Mixed wrapping data and nonwrapping data on the same line");
1604- MOZ_ASSERT (mOutputManager );
1600+ // This mustn't be mixed with intelligent wrapping without clearing
1601+ // the mCurrentLine.mContent buffer before!!!
1602+ NS_ASSERTION (mCurrentLine .mContent .IsEmpty() ||
1603+ (IsElementPreformatted() && !mPreFormattedMail),
1604+ "Mixed wrapping data and nonwrapping data on the same line");
1605+ MOZ_ASSERT (mOutputManager );
16051606
1606- if (!mCurrentLine .mContent .IsEmpty ()) {
1607- mOutputManager ->Flush (mCurrentLine );
1608- }
1607+ if (!mCurrentLine .mContent .IsEmpty ()) {
1608+ mOutputManager ->Flush (mCurrentLine );
1609+ }
16091610
16101611 ConvertToLinesAndOutput (str);
16111612 return ;
0 commit comments