Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 contemplating the Monastery: (6)
As of 2025-06-18 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.