Shoutbox

Code tags formatting - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: Code tags formatting (/showthread.php?tid=27568)

Code tags formatting by KeyStorm on 06-22-2004 at 03:14 PM

Although [code]- tags should show code with a monospaced font. But it doesn't. There is tecnhically no difference with the content format of simple [quote]- tags.

I would swear that it worked before the template-update.
Fix it please, since coders will be pleased to have this feature back.


[/code]
RE: Code tags formatting by fluffy_lobster on 06-22-2004 at 03:56 PM

Good point, although there is still a difference in the functionality of the quote tag and the code tag:

[edit] Okay, what happened to smileys/mycode not being parsed in [code'] tags?  Did that go with RC1/2? :-/


RE: Code tags formatting by Choli on 06-23-2004 at 12:03 AM

quote:
Originally posted by fluffy_lobster
Good point, although there is still a difference in the functionality of the quote tag and the code tag:
yes, the [code] tag puts "code:" and que [quote] tags puts "quote:" :refuck:
edit: and the [code] tag doesn't accept the [quote=name] syntax :P
quote:
Originally posted by fluffy_lobster
[edit] Okay, what happened to smileys/mycode not being parsed in [code'] tags?  Did that go with RC1/2?
you can now use the [noparse] and [/noparse] tags ;) originally suggested by me [Image: mininana.gif]

[/code][/code]
RE: Code tags formatting by Vantage on 06-23-2004 at 03:06 AM

i think it's quite :dodgy: change it back :refuck:


RE: Code tags formatting by WDZ on 06-23-2004 at 03:53 AM

code:
<?php

    echo "spam";
    $var = 2;

?>

WWWWW
|||||
Opera shows fixed-width. :tongue:

quote:
Originally posted by KeyStorm
I would swear that it worked before the template-update.
The new theme addition, you mean? :-/
RE: Code tags formatting by Choli on 06-23-2004 at 09:34 AM

quote:
Originally posted by Vantage
i think it's quite :dodgy: change it back :refuck:
nah, it's better this way.
quote:
Originally posted by WDZ
Opera shows fixed-width.
IE (Avant) works now well too, but I agree with KeyStorm that it didn't show fixed width before :-/
RE: Code tags formatting by KeyStorm on 06-23-2004 at 01:18 PM

Firefox, too, now (Y)

quote:
Originally posted by WDZ
quote:
Originally posted by KeyStorm
I would swear that it worked before the template-update.
The new theme addition, you mean? :-/
Blah, yeah, w/e.

Btw, will you ever create the raw post code quoter window? :)8-)

RE: Code tags formatting by Choli on 06-23-2004 at 01:28 PM

quote:
Originally posted by KeyStorm
will you ever create the raw post code quoter window?
:|
what would that be?
RE: Code tags formatting by KeyStorm on 06-23-2004 at 01:44 PM

hm... [thread=http://shoutbox.menthix.net/showthread.php?tid=24613]

:dodgy:


RE: Code tags formatting by WDZ on 06-24-2004 at 12:37 AM

wtf... you're saying that the problem is fixed now? I did absolutely
nothing. :p

quote:
Originally posted by KeyStorm
[thread=http://shoutbox.menthix.net/showthread.php?tid=24613]
Blah... I keep forgetting about that... I've been working on more fun projects... the board is boring. |-)
RE: Code tags formatting by KeyStorm on 06-24-2004 at 03:30 PM

Ahm... I have seen it not monospaced lately. And Lobster did also test it before editing, and it showed standard font and smileys.


RE: Code tags formatting by KeyStorm on 06-30-2004 at 06:11 PM

[Image: attachment.php?pid=270631]

code:
<font face="verdana,tahoma,arial,helvetica" size="1">code:</font></font><hr color="#000000" size="1"><span style="font-family: 'courier new',monospace;"><font face="verdana,tahoma,arial,helvetica" size="2">blah</font></span><hr color="#000000" size="1"></blockquote><font face="verdana,tahoma,arial,helvetica" size="2">

And see? still formatted :rolleyes:
RE: Code tags formatting by Tochjo on 06-30-2004 at 06:51 PM

Unless some dodgy thing happened in the past 40 minutes, we're not seeing the same thing.

[Image: attachment.php?pid=270663]


RE: Code tags formatting by KeyStorm on 06-30-2004 at 09:01 PM

It obviously depends on the browser, due to the dodgy code. It adds a font to the coded field.l Now I wonder why it doesn't happen sometimes.


RE: Code tags formatting by WDZ on 06-30-2004 at 11:02 PM

I just looked at the source of that thread, and there is NOT a <font> tag, so why did you post that HTML, KeyStorm?


RE: Code tags formatting by KeyStorm on 07-01-2004 at 12:23 PM

Hm... weird.
If I use the "View Selection source" in Firefox the font tag shows up, but viewing the complete source it's not there.
But I still wonder why is it verdana.
And the most weird thing: why did it show up right in your post above, WDZ...


RE: Code tags formatting by CookieRevised on 07-22-2004 at 08:02 PM

quote:
Originally posted by KeyStorm
If I use the "View Selection source" in Firefox the font tag shows up, but viewing the complete source it's not there.
But I still wonder why is it verdana.
Known "glitch" (some call it a feature though, but I don't like it either).... It will add the last known normal html font tag, and in this case that is verdana...
(it was set just before the "code:" text, look at the source again ;)) Anyways, the "selective source"-feature is a bit buggy and shouldn't be fully trusted to be correct...


quote:
Originally posted by KeyStorm
And the most weird thing: why did it show up right in your post above, WDZ...
Indeed, there is something very weird going on....
To show that KeyStorm isn't going mental:
[Image: attachment.php?pid=281358]
These are taken in this same thread.
WDZ's test IS monospaced, KeyStorm's not....

Whenever I try to duplicate it by creating a new post, It will always end up non-monospaced. Also, all other "code tag"-uses on the forum are all non-monospaced when I view them (with Mozilla based browser)..... Like KeyStorm, I can remember that it once was monospaced (but I can't remember when this has changed to non-monospace, but I'm almost certain it was even before the new skin-update)