Re: Changes in hyphenation

Jorge Arellano Cid <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hi Sebastian,

On Fri, Nov 02, 2012 at 04:04:52PM +0100, Sebastian Geerken wrote:
> On Fri, Nov 02, Sebastian Geerken wrote:
> [...]
> Johannes patch is (with some changes) applied.

  I have no problems with the latest patch. The code respects PRE
formatted code inserting a horizontal scroll when necessary.

  FWIW, without this last patch, I had problems with the attached
test case.

  BTW, what will happen with HTML pages that quote
full-paragraph-in-one-line emails with PRE?
(unfortunately I don't have an example page at hand).

-- 
  Cheers
  Jorge.-

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
pre_ascii.html (text/html, 4.1 KB)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">

<HTML>

<HEAD>

	<!-- testcase: pre_ASCII.html -->

	<!-- Description: HTML 4.0 Pre element using the ASCII space, tab and form-feed. -->

	<!-- Author: Beth Epperson  Date: 5/5/99 -->

<!-- 

   - The contents of this file are subject to the Mozilla 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/MPL/

   - 

   - 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 Test Cases.

   - 

   - The Initial Developer of the Original Code is Netscape Communications

   - Corp.  Portions created by Netscape Communications Corp. are 

   - Copyright (C) 1999 Netscape Communications Corp.  All

   - Rights Reserved.

   - 

   - Contributor(s): 

  -->

	<!-- <meta name="crc" content=> -->

    <!-- Purpose: To test the PRE element with ASCII format -->

    <!-- Expected result: The ascii format should be perserved in a PRE element -->

	<TITLE>HTML Functional -- PRE - ASCII</TITLE>

</HEAD>

<BODY>





<h4>PRE element using ASCII space (&amp;#x0020;) for indentation and ASCII LF (&amp;#x000A;) for returns</h4>
<pre>
Humpty Dumpty sat on a wall.&#x000A;&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;Humpty Dumpty had a great fall.&#x000A;&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;All the King's horses and all the King's men&#x000A;&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;Couldn't put Humpty together again.&#x000A;&#x000A;They called a doctor from the town.&#x000A;&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;To come and fix poor Humpty's crown.&#x000A;&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;He put a stitch in Humpty's leg.&#x000A;&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;And bandaged up poor Humpty's egg.&#x000A;&#x000A;He used some tape and then some glue,&#x000A;&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;And Humpty's now as good as new.
</pre>
<hr>

<h4>PRE element using ASCII space (&amp;#32;) for indentation and ASCII LF (&amp;#10;) for returns</h4>
<pre>
Humpty Dumpty sat on a wall.&#10;&#32;&#32;&#32;&#32;&#32;Humpty Dumpty had a great fall.&#10;&#32;&#32;&#32;&#32;&#32;All the King's horses and all the King's men&#10;&#32;&#32;&#32;&#32;&#32;Couldn't put Humpty together again.&#10;&#10;They called a doctor from the town.&#10;&#32;&#32;&#32;&#32;&#32;To come and fix poor Humpty's crown.&#10;&#32;&#32;&#32;&#32;&#32;He put a stitch in Humpty's leg.&#10;&#32;&#32;&#32;&#32;&#32;And bandaged up poor Humpty's egg.&#10;&#10;He used some tape and then some glue,&#10;&#32;&#32;&#32;&#32;&#32;And Humpty's now as good as new.
</pre>

<hr>

<h4>PRE element using ASCII tab (&amp;#x0009) for indentation and ASCII CR (&amp;#x000D;)for returns</h4>

<pre>
Humpty Dumpty sat on a wall.&#x000D;&#x0009;&#x0009;Humpty Dumpty had a great fall.&#x000D;&#x0009;&#x0009;All the King's horses and all the King's men&#x000D;&#x0009;&#x0009;Couldn't put Humpty together again.&#x000D;&#x000D;They called a doctor from the town.&#x000D;&#x0009;&#x0009;To come and fix poor Humpty's crown.&#x000D;&#x0009;&#x0009;He put a stitch in Humpty's leg.&#x000D;&#x0009;&#x0009;And bandaged up poor Humpty's egg.&#x000D;&#x000D;He used some tape and then some glue,&#x000D;&#x0009;&#x0009;And Humpty's now as good as new.
</pre>

<hr>

<h4>PRE element using ASCII tab (&amp;#09) for indentation and ASCII CR (&amp;#13;)for returns</h4>

<pre>
Humpty Dumpty sat on a wall.&#13;&#09;Humpty Dumpty had a great fall.&#13;&#09;All the King's horses and all the King's men&#13;&#09;Couldn't put Humpty together again.&#13;&#13;They called a doctor from the town.&#13;&#09;To come and fix poor Humpty's crown.&#13;&#09;He put a stitch in Humpty's leg.&#13;&#09;And bandaged up poor Humpty's egg.&#13;&#13;He used some tape and then some glue,&#13;&#09;And Humpty's now as good as new.
</pre>



</PRE>

</BODY>

</HTML>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.