Broken Code Tag Examples in Topic 21171

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Broken Code Tag Examples in Topic 21171

Post by McInfo »

The

Code: Select all

 tag examples in [url=http://forums.devnetwork.net/viewtopic.php?p=105645#p105645]post 105645[/url] appear to be broken, possibly because of a previous edit. I would like to refer to the post when someone fails to use the code tags, but the examples are ineffective in their current state.

Will a moderator please fix the post?

[i][size=72]Edit: This post was recovered from search engine cache.[/size][/i]
Last edited by McInfo on Wed Jun 16, 2010 3:29 pm, edited 1 time in total.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Broken Code Tag Examples in Topic 21171

Post by Benjamin »

Fixed
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Broken Code Tag Examples in Topic 21171

Post by McInfo »

Thank you.

However, I think it would be clearer if it looked like this:

Code: Select all

[code=php]/* YOUR PHP CODE HERE */
[/code]
which means that the source code of the post would be

Code: Select all

[code=text][code=php]/* YOUR PHP CODE HERE */
[/code][/code]
That way, the extra spaces are not needed and that part of the post is more noticeable to the casual observer.

Edit: This post was recovered from search engine cache.
Post Reply