|
-
Aug 17th, 2011, 01:37 PM
#1
Thread Starter
WiggleWiggle
Missing code in code tag
Hello,
http://www.vbforums.com/showpost.php...99&postcount=2
In that post, i have a line of code at the very bottom that is not showing up. It is a comment in the code, but its not visible in the post. If you go to edit it (mods/admin) you see that the code is actually there...
Weird. im not sure why its doing that. any ideas
-
Aug 17th, 2011, 01:48 PM
#2
Re: Missing code in code tag
I've got no idea, but can confirm that I don't see the following line (in Firefox or IE):
//logging out is just setting the session to null or destroying the session
-
Aug 17th, 2011, 02:05 PM
#3
Re: Missing code in code tag
Interesting. I'm not sure what is going on either. I'd have to dig into the code for the php bbcode tag.....
What I did determine is that if you add anything (other than another comment) after your two comments, then it will all show. If the last non-blank line is a comment, then it won't show. (If you take out the dash I added and add another comment line, you'll get another line of your code to display.
Quite interesting. My guess is there is an error with the logic around the single line comments in the bbcode code.
Brad!
-
Aug 17th, 2011, 03:48 PM
#4
Thread Starter
WiggleWiggle
Re: Missing code in code tag
I added a few more lines, ending with a line of code instead of a comment...
Interesting find though
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|