Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Bigger Textarea

by $code or die (Deacon)
on Jan 09, 2002 at 18:02 UTC ( [id://137445]=note: print w/replies, xml ) Need Help??


in reply to Bigger Textarea

I don't mind the size of the textarea, but I have another problem with them when I use Opera.

I'm using Opera 5 on Linux, and it inserts extra carriage returns in text areas. It's not a major problem if I post a pure HTML node because it doesn't render any differently, but it causes blank lines to appear when I post <CODE>. And every time I update a node, or submit after a preview it adds extra carriage returns making code posts unreadable, so I have to go back in and delete them all.

This could be fixed by adding one of these to the PM code...

$textarea =~ s/\r//g; #or $textarea =~ s[\r\n][\n]g;

note: You can see what I mean by viewing source. I don't know if pmdev have access to the code that I am talking about, so I'm happy to live with this. But also, maybe this Opera 6 handles this differently.


Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://137445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-20 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found