Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Bigger Textarea

by $code or die (Deacon)
on Jan 09, 2002 at 18:02 UTC ( #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? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2021-10-25 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?