[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Example 1


  • From: Gunnar Hjalmarsson <mailbox@xxxxxxxxx>
  • Date: Mon, 30 Dec 2002 07:40:33 +0100

This message was converted with the original code, resulting in
invalid HTML that is not rendered well by e.g. MSIE.

This is a test of flowed text. 
This is only a test.

Level 1 text.  Level 1 text.  Level 1 text.  Level 1 text. 
Level 1 text. Level 1 text. Level 1 text. Level 1 text.
Hello there.  Hello there.  Hello there.  Hello there.  Hello there. 
Hello there. Hello there. Hello there. Hello there. Hello there.
Hello there. Hello there.

This text should be not be flowed.
Up to this line.
This line is at the same quote depth, but should be flowed.
With this line.
No leading space before this line and this line right after previous.

0123456789012345678901234567890123456789012345678901234567890123456789 
0123456789
0123456789012345678901234567890123456789012345678901234567890123456789
90123456789012345678901234567890123456789012345678901234567890123456789
90123456789012345678901234567890123456789012345678901234567890123456789
890123456789012345678901234567890123456789012345678901234567890123456789
890123456789012345678901234567890123456789012345678901234567890123456789
67890123456789012345678901234567890123456789012345678901234567890123456789
67890123456789012345678901234567890123456789012345678901234567890123456789

This text should not be flowed since there
is no extra spaces at the end of the lines
in this paragraph. However we will just have
to see if the filter does the correct thing.

This row ends with [^ ]\r\n, and is converted to a fixed font.
This row ends with [^ ]\r\n, and is converted to a fixed font.
This row ends with [^ ]\r\n, and is converted to a fixed font.

But the rows below should be displayed in a fixed
font, since it is a separate para and lines end with [^ ]\r\n:

for (split (/[&;]/, $in)) {
($name, $value) = split(/=/);
$value =~ s/%(..)/pack("c",hex($1))/ge;
$in{$name} = $value;
}

Typically, when you post a code fragment, you want it to be viewed
with a fixed font, don't you?

This is another flowed paragraph. I want to see if a proper line
break exists between this paragraph and the preceding one. Also this
para has complete nothing to say.



Here is another flowed. This one has a few line breaks before it.
Do they get compressed or are they presevered. Well, we'll just have to
find out.

This is a short paragraph.

Here is some quoted text 
that should be flowed.

Here is another short paragraph.

This is a really long line. This is a really long line. This is a really long 
line. This is a really long line. This is a really long line. This is a
really long line. This is a really long line. This is a really long line.
Where this line should be flowed with the previous.

This is a really long line. This is a really long line. This is a really long
line. This is a really long line. This is a really long line. This is a really
long line. This is a really long line. This is a really long line, that should
be rendered pre-formatted.
Since this paragraph EOLs are just newlines.

The following block should be flowed:



The following block should be pre-formatted:




This is a test of flowed text. 
This is only a test. In this test, there is a blank line
at the end, but it is quoted at the same level of this test.

Level 1 text.  Level 1 text.  Level 1 text.  Level 1 text. 
Level 1 text. Level 1 text. Level 1 text. Level 1 text.

A short quoted paragraph. 

The End.



[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]