mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
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).

Joined: Jun 2003
Posts: 4,670
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 4,670
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,

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

S
saxon
saxon
S
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,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
Foreigners will be shot. cool

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
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!

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
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,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
MOZILLA SUX mad

IE ROX cool

Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
Yeah I'm using IE right now and it's amazi

C
CtrlAltDel
CtrlAltDel
C
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.

Link Copied to Clipboard