mIRC Homepage
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).
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,
Great idea, i have always found it quite annoying. wink
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?
Foreigners will be shot. cool
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!
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
MOZILLA SUX mad

IE ROX cool
Yeah I'm using IE right now and it's amazi
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
© mIRC Discussion Forums