JRS: In article <1155519612.381837.181370 (AT) 74g2000cwt (DOT) googlegroups.com>,
dated Sun, 13 Aug 2006 18:40:12 remote, seen in news:comp.infosystems.ww
w.authoring.stylesheets, Brent <bkraymond (AT) gmail (DOT) com> posted :
Quote:
On 2006-08-13, Brent wrote:
Is there really no way to force the text to wrap while preserving
whitespace? This is really bumming me out. :-(
Paragraph indents, character returns at the end of paragraphs, and
multiple spaces in succession. I lose them all when I attempt to wrap
the text. |
You can paste it into a textarea, then invoke javascript to wrap at
whitespace before a given character count and put it in a PRE.
Parts of the javascript behind <URL:
http://www.merlyn.demon.co.uk/js-
quick.htm> Pack button might be useful to you; you'd have at least to
remove what changes multiple whitespace to single - or replace it by
multiple .
Read the c.l.j FAQ.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.