Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RE: RE:(4) fixing what textareas do to input

by httptech (Chaplain)
on Jun 05, 2000 at 22:21 UTC ( [id://16472]=note: print w/replies, xml ) Need Help??


in reply to RE:(4) fixing what textareas do to input
in thread fixing what textareas do to input

But then aren't you ending up with 2 sets of linebreaks? The linebreaks added by the user's paste job, and then the linebreaks added by the browser?

So you end up output like:

Here is a line break where my browser decided to break the line, but I thought it would actually be here.

Replies are listed 'Best First'.
RE: RE: RE:(4) fixing what textareas do to input
by swiftone (Curate) on Jun 05, 2000 at 22:26 UTC
    No, only because I strip any linebreaks not associated with HTML tags. Think of it like the non-standard WRAP=VIRTUAL tag, which shows the word wrapping without putting it in.

    I'd LOVE for that to become standard. Let the user pick where the linebreaks are, and not have to scroll one massive line all the time to edit.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-06-19 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.