Topic: Source code

When viewing the page's source code via the browser, the following placeholders are shown. Should they be suppressed from outputting?

<!-- pun_alert -->
<!-- pun_announcement -->
<!-- pun_stats -->
<!-- pun_debug -->

Re: Source code

They certainly could be, but they need not be. Those are perfectly valid as HTML comments.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Source code

They were made comments for the reason that needlessly replacing them wouldn't be necessary anymore.

4

Re: Source code

Exactly. To surpress them you would have to run str_replace 4 times to remove things that don't actually need removing. I also think it is quite a good idea to be able to see where the optional elements would output when viewing source.