Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

New line wrapping feature

by vroom (Pope)
on Jun 26, 2000 at 21:15 UTC ( #19880=monkdiscuss: print w/ replies, xml ) Need Help??

Now the line wrapping features that nuance suggested has been implemented. Right now it breaks lines at 80 columns within <CODE> tags by default.

You can turn this off in your user settings or readjust the number of columns at which it breaks lines.

One caveat:

  • It does the substitutition all of the special characters have been html-escaped this means that lines that contain many of these characters might be cut off prematurely. (There will probably be an improvement there later)


vroom | Tim Vroom | vroom@cs.hope.edu

Comment on New line wrapping feature
RE: New line wrapping feature
by BBQ (Deacon) on Jun 26, 2000 at 21:39 UTC
    Thank you, thank you, thank YOU father vroom!

    It may be just aesthetics, but you have no idea how easier on the eyes SOPW and the homenode look now. I don't even mind that the HTML gets broken up sometimes. I'd rather have broken HTML that I can read (and deduce), than non-broken HTML scrolling 4 miles down to the right. This is a major improovement!

    #!/home/bbq/bin/perl
    # Trust no1!
RE: New line wrapping feature
by nuance (Hermit) on Jun 26, 2000 at 23:35 UTC

    Thanks Vroom

    It's really excellent. One slight problem I'm having is that it doesnt seem to be implemented on the craft section. Is that right?

    Nuance

      Forgot about the different chunk of code that handled that... that should be fixed now.

      vroom | Tim Vroom | vroom@cs.hope.edu
RE: New line wrapping feature
by kapper (Chaplain) on Jun 27, 2000 at 16:17 UTC

    Great job!... =)

    This was a really needed improvement!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://19880]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-08-22 21:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (167 votes), past polls