18012, 16800, maybe 17565 and 13278: Integrate contributions from Ben Bucksch (mozilla@bucksch.org) and Daniel Brattell (bratell@lysator.liu.se) to improve formatted plaintext output, including adding text style indicators, improving table output and wrapping, and fixing several wrapping/whitespace bugs. Also update the auto tests to reflect some of the bugs recently fixed. r=myself,mozilla@bucksch.org,bratell@lysator.liu.se git-svn-id: svn://10.0.0.236/trunk@53104 18797224-902f-48f8-a5cc-f745e15eee43
59 lines
1.5 KiB
HTML
59 lines
1.5 KiB
HTML
<html>
|
|
<head>
|
|
<!--
|
|
-- The contents of this file are subject to the Netscape Public
|
|
-- License Version 1.1 (the "License"); you may not use this file
|
|
-- except in compliance with the License. You may obtain a copy of
|
|
-- the License at http://www.mozilla.org/NPL/
|
|
--
|
|
-- Software distributed under the License is distributed on an "AS
|
|
-- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
-- implied. See the License for the specific language governing
|
|
-- rights and limitations under the License.
|
|
--
|
|
-- The Original Code is Mozilla Communicator client code, released
|
|
-- March 31, 1998.
|
|
--
|
|
-- The Initial Developer of the Original Code is Netscape
|
|
-- Communications Corporation. Portions created by Netscape are
|
|
-- Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
-- Rights Reserved.
|
|
--
|
|
-- Contributor(s): Akkana Peck
|
|
-->
|
|
<title>Simple html page</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Simple html page</h1>
|
|
|
|
Here is a <a href="http://www.mozilla.org">link to the mozilla.org</a> page.
|
|
Here is some <u>underlined and <b>bold</b>ened</u>ified text
|
|
plus some <angle bracket entities>.
|
|
|
|
<p>
|
|
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".
|
|
</p>
|
|
|
|
<p>
|
|
Here is a <em>list</em>:
|
|
</p>
|
|
|
|
<ul>
|
|
<li>An item</li>
|
|
<li>A nested ordered list:</li>
|
|
<li><ol>
|
|
<li>item one</li>
|
|
<li>item two</li>
|
|
</ol>
|
|
</li>
|
|
<li>last item</li>
|
|
</ul>
|
|
|
|
<p>Here is a paragraph after the list.</p>
|
|
|
|
</body>
|
|
</html>
|