From 224bfd60e02bcdd32b3442ddbdc49c84268291b4 Mon Sep 17 00:00:00 2001 From: "mozilla.BenB%bucksch.org" Date: Tue, 10 Apr 2001 01:13:07 +0000 Subject: [PATCH] 58377: Spaces at end of line, empty lines with spaces. Fixed both. Adjusting test to follow. All changes intended and an improvement. --- htmlparser/tests/outsinks/mailquote.out | 23 ---------------- htmlparser/tests/outsinks/simplecopy.out | 15 ----------- htmlparser/tests/outsinks/simplefmt.out | 26 ------------------- .../htmlparser/tests/outsinks/mailquote.out | 6 ++--- .../htmlparser/tests/outsinks/simplecopy.out | 2 +- .../htmlparser/tests/outsinks/simplefmt.out | 4 +-- 6 files changed, 6 insertions(+), 70 deletions(-) diff --git a/htmlparser/tests/outsinks/mailquote.out b/htmlparser/tests/outsinks/mailquote.out index ed6810c331c..e69de29bb2d 100644 --- a/htmlparser/tests/outsinks/mailquote.out +++ b/htmlparser/tests/outsinks/mailquote.out @@ -1,23 +0,0 @@ -This page is a test of mail quoting. - -I hope you will enjoy these quotes from /Hamlet/, -introduced by a fairly long line to see how -quotations get wrapped: - ->> /(These have *br* tags after them./ ->> To be, or not to be, that is the question ->> Whether 'tis nobler in the mind to suffer ->> The slings and fortunes of outrageous fortune ->> Or to take arms against a sea of troubles, And ->> by opposing end them. -> -> Oh, what a mind is here o'erthrown. -> ->> /(The next line does not end with a *br* tag.)./ ->> Oh, what a rogue and peasant slave am I. -> -> /(Neither does the next line:)/ -> The observed of all observers, quite, quite down! - -Now we're outside all blockquotes. - diff --git a/htmlparser/tests/outsinks/simplecopy.out b/htmlparser/tests/outsinks/simplecopy.out index 322e69b2e51..e69de29bb2d 100644 --- a/htmlparser/tests/outsinks/simplecopy.out +++ b/htmlparser/tests/outsinks/simplecopy.out @@ -1,15 +0,0 @@ -Simple html page -Here is a link to the mozilla.org page. Here is some underlined and boldenedified text plus some . - -Here is a line ending with a space followed by a line break. Plaintext output should contain only one space (and no line breaks) between "space" and "followed". - -Here is a list: - - * An item - * A nested ordered list: - * - 1. item one - 2. item two - * last item - -Here is a paragraph after the list. diff --git a/htmlparser/tests/outsinks/simplefmt.out b/htmlparser/tests/outsinks/simplefmt.out index a560b09c39c..e69de29bb2d 100644 --- a/htmlparser/tests/outsinks/simplefmt.out +++ b/htmlparser/tests/outsinks/simplefmt.out @@ -1,26 +0,0 @@ - - Simple html page - -Here is a link to the mozilla.org page. Here -is some _underlined and *bold*ened_ified text plus some . - -Here is a line ending with a space followed by a line break. Plaintext -output should contain only one space (and no line breaks) between -"space" and "followed". - -Here is a /list/: - - * An item - * A nested ordered list: - * - 1. item one - 2. item two - * last item - -Here is a paragraph after the list. - -Here is a blockquote: - - The quick brown fox jumped over the lazy dog - diff --git a/parser/htmlparser/tests/outsinks/mailquote.out b/parser/htmlparser/tests/outsinks/mailquote.out index ed6810c331c..7336ee8e083 100644 --- a/parser/htmlparser/tests/outsinks/mailquote.out +++ b/parser/htmlparser/tests/outsinks/mailquote.out @@ -10,12 +10,12 @@ quotations get wrapped: >> The slings and fortunes of outrageous fortune >> Or to take arms against a sea of troubles, And >> by opposing end them. -> +> > Oh, what a mind is here o'erthrown. -> +> >> /(The next line does not end with a *br* tag.)./ >> Oh, what a rogue and peasant slave am I. -> +> > /(Neither does the next line:)/ > The observed of all observers, quite, quite down! diff --git a/parser/htmlparser/tests/outsinks/simplecopy.out b/parser/htmlparser/tests/outsinks/simplecopy.out index 322e69b2e51..0866b975c72 100644 --- a/parser/htmlparser/tests/outsinks/simplecopy.out +++ b/parser/htmlparser/tests/outsinks/simplecopy.out @@ -7,7 +7,7 @@ Here is a list: * An item * A nested ordered list: - * + * 1. item one 2. item two * last item diff --git a/parser/htmlparser/tests/outsinks/simplefmt.out b/parser/htmlparser/tests/outsinks/simplefmt.out index a560b09c39c..1683b011759 100644 --- a/parser/htmlparser/tests/outsinks/simplefmt.out +++ b/parser/htmlparser/tests/outsinks/simplefmt.out @@ -1,6 +1,6 @@ Simple html page - + Here is a link to the mozilla.org page. Here is some _underlined and *bold*ened_ified text plus some . @@ -13,7 +13,7 @@ Here is a /list/: * An item * A nested ordered list: - * + * 1. item one 2. item two * last item