in reply to Re: posting text alignmen
in thread posting text alignment

You are right in case that lines are over the max chars.

without alignment:
some text here then another paragraph and finally a long line with spaces ............. .......... ...... ... .. .

with alignment:
some text here
then another paragraph
and finally a long line with spaces ............. .......... ..... .
... .. .


I guess the code should be sm.th. like:
perl -e '$SIG{INT}=sub{print$/x2,"@__"};while(<>){s/(.{75,}?)\s|\n/$1< +br>/;push@__,$_}'

Update: I do not guess, I am sure.


Replies are listed 'Best First'.
Re^3: posting text alignmen
by 5mi11er (Deacon) on Sep 06, 2005 at 14:25 UTC
    While this could be useful at times, I think, I am confused as to what you are ultimately suggesting. Are you using <br>'s to break paragraphs? I personally use <p> to break paragraphs...

    If, on the other hand, you're suggesting to use the breaks on lines within a paragraph, and I think you are, then I completely agree with davidrw that how a paragraph wraps should be left upto the person viewing it. I have a large-ish screen, I thank you for allowing me to use the available space and set the width that I like, and not force your paragraphs to wrap sooner; unless you have good reason to do so.

    -Scott

    Update: fixed some grammer issues...