<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Hans wrote:
<blockquote cite="mid579748587.20070315174728@softflow.co.uk"
 type="cite">
  <pre wrap="">Thursday, March 15, 2007, 5:09:13 PM, Dr wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Nice sounding enhancement.&nbsp; FYI, about 25 years ago in pre-HTML days, Iworked on a
wiki like project whose display code was parsed somewhatsimilar to that this cookbook
addition offers.&nbsp; Anyway, one of ourrules for text formatting was 
  Indents of x spaces created a new paragraph whose first line wasindented X spaces.&nbsp;
    Subsequent lines without indents or other formatting code to endthe paragraph were
word wrapped as part of the indented paragraph. 
    </pre>
  </blockquote>
  <pre wrap=""><!---->  
  </pre>
  <blockquote type="cite">
    <pre wrap="">Is this how your recipe works for paragraphs? or does it treat textwith an indent as
preformatted unwrapped text?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  Indents of lines will literally be treated as such, be it  a number of
sapces or tabs (inserted perhaps by pasting into the text box, as you
cannot add a tab in a textarea input control).

  They will not be treated as pre-formatted unwrapped text.

Subsequent lines will be treated as part of the paragraph,
till an empty line occurs.

I put up a demo test page on my site here (editing locked)
where you can see some effects of the script:
<a class="moz-txt-link-freetext" href="http://softflow.co.uk/design/Test/WhiteSpaceTest">http://softflow.co.uk/design/Test/WhiteSpaceTest</a>
  </pre>
</blockquote>
<br>
<pre>The example at your site doesn't clearly cover the example noted below.
FYI, the text below are supposedly in preformatted html text, I'm not sure if 
it comes out that way on the list emails...  

&nbsp;&nbsp; Don't you mean until another line break (not empty line)
of some sort is encountered? (This would be one paragraph)
   In other words, if an indented line is encountered, as in this example, 
that is considered a line break (or empty line) and another paragraph 
is started with the new indent for the first line?&nbsp;  
    This would be another paragraph with a different indent
the two above...   
</pre>
<pre class="moz-signature" cols="72">-- 

Always, Dr Fred C
<a class="moz-txt-link-abbreviated" href="mailto:drfredc@drfredc.com">drfredc@drfredc.com</a></pre>
</body>
</html>