My friend
Chris notified me that MySpace has made a new change to their profile editor that breaks HTML comments! So, if you've customized your profile and you'd like to document internally, within your code, what code sections do what, your comments end up displayed on your profile page, rather than being visible only when you edit your profile.
Here's what the current MySpace profile editor does to comments. Say you're editing your profile, and you'd like to make a note to yourself using the following standard format HTML comment:
<
!-- the code below creates a scrolling window -->
This is a valid HTML comment.
Here's what the MySpace editor enters into your profile when you click the "Save All Changes" button:
.. the code below creates a scrolling window -->
This, of course, is not an HTML comment, so it will be displayed in your profile when people visit your page.
Undoubtedly MySpace made this change to fight some kind of hacker attack. Unfortunately, when they do these things they often do so without thinking about the implications for members who are trying to apply standard coding techniques to their profile customizations.
References