mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Subject pretty much sums it up. Code markup tags are very annoying to copy/paste with IE since Microsoft have decided that converting HTML line-breaks into plain-text line-breaks would be too simple and might encourage application useability.

Since these forums are written in PHP it's probably just a matter of replacing something like str_replace($somevar, "\n", '<br/>') with nl2br($somevar).


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Don't quote me, but I think the reason this hasn't been implemented is Tjerk doesn't want it to be too hard for forum upgrades. I think that's what I heard anyhoo smile

I don't use the 'code' tag a huge amount, but I have been subjected to the annoyances of it occasionally, I think it's a good idea.

Regards,


Mentality/Chris
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Great idea, i have always found it quite annoying. wink


New username: hixxy
Joined: Apr 2003
Posts: 210
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
Yeah it's pretty annoying. Just the other day someone posted some dialog code in the bug reports forum, And I had to sort out all the lines myself in the editor.

Btw, All the posters in this thread thus far are from the UK.... blimey, Small world isn't it?

Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Foreigners will be shot. cool


New username: hixxy
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
A simple workaround is to paste the code in Wordpad, then copy the code from there. I've added a Wordpad shortcut directly in Start Menu just for this purpose :tongue:

starbucks_mafia: Definitely. This feature screams to be added. Especially if you consider that code tags in private messages retain newlines!


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Another workaround (if you can call it that) is to use mozilla, for me it correctly copies the newlines.

* Collective hopes to not start a browser war smirk

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
MOZILLA SUX mad

IE ROX cool


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Yeah I'm using IE right now and it's amazi

Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Quote:
MOZILLA SUX mad

IE ROX cool


Maybe so (in your opinion), but Mozilla (and Netscape, and Opera) will copy the code correctly so you don't have to use Wordpad to get it to paste correctly into the mIRC editor. grin
Quote:
* Collective hopes to not start a browser war smirk

me too wink

Last edited by CtrlAltDel; 18/04/04 01:57 AM.

I refuse to engage in a battle of wits with an unarmed person. wink

Link Copied to Clipboard