Is there a bug or a feature in the forum?

  • Thread starter Thread starter Hurkyl
  • Start date Start date
AI Thread Summary
The discussion revolves around a potential issue in the forum regarding the display of comment tags in posts. Users note that the text "There is /* something */ hidden here." appears as intended, but it raises questions about whether this behavior is a bug or a feature. The consensus leans toward it being a mishandling of comment tags, as they are typically used for code comments and shouldn't affect visible content. There is speculation that the problem may stem from forum customizations or hacks, particularly related to the latex parser. Overall, the situation highlights a need for clarity on how comment tags are processed in the forum's code.
Hurkyl
Staff Emeritus
Science Advisor
Gold Member
Messages
14,922
Reaction score
28
Or is it a "feature"? :frown:

Code:
There is /* something */ hidden here.

is displayed as

There is /* something */ hidden here.
 
Physics news on Phys.org
I will use this next time I get the 10char thing! (Earlier I would put a bunch of spaces followed by a .)
Weird though...
 
Since / * * / are common comment tags I'm going to put forth that they're being commented out.
 
I agree with -Job-. And there doesn't seem to be any use of commenting out something in a thread where it's only visible in the source code. Since it's not entirely a bug (commenting is a feature in the language itself) I'd say it's just a mishandling of that tag by the forum.
 
Hurkyl, I thought that you were the forum bug, now that we got rid of the penguin...
 
hmmm it doesn't work with a clean vb, must be one of our hacks, maybe the latex parser is doing something weird.
 

Similar threads

Replies
5
Views
2K
Replies
2
Views
1K
Replies
4
Views
2K
Replies
3
Views
42
Replies
4
Views
2K
Replies
6
Views
1K
Replies
1
Views
600
Replies
2
Views
2K
Replies
27
Views
2K
Back
Top