Groundspeak Forums: No longer possible to input comments in HTML code? - Groundspeak Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

No longer possible to input comments in HTML code?

#1 User is offline   ds8300 

  • Premium Member
  • Group: +Premium Members
  • Posts: 5
  • Joined: 09-April 03

Posted 22 February 2012 - 06:40 AM

At the end of January I prepared a new puzzle cache where the clues were hidden on the cache page in the form of comments with the syntax <!--//-->. The code was accepted and the page rendered correctly. Yesterday, I checked the page in readiness for releasing the cache. All the comments had been stripped from the HTML code and I cannot re-enter them. Why?

This is the code for what it's worth. No big deal or damaging in any way that I can imagine.


This mystery cache will require you to see things from different perspectives. Don't go to the posted coordinates, unless you just feel like going for a nice walk.
<p>Perspective can mean many things. Visual perspective can be thought of as the way things appear based on spatial attributes, dimensions, and their positions relative to the eye of the viewer. Train tracks disappearing towards the horizon are often used as an example of linear perspective.
Aerial perspective is the way an object looks when it is seen through the atmosphere. Books and films tell stories from first-person, third-person, and/or other character perspectives.
People often talk about “having perspective on things” when talking about wisdom that comes with age.
Having perspective means having the ability to see things in different ways, where “see” could be physically seeing something, but might not be, and “things” might be physical things, but might not be.</p>
<p>This cache will test your ability to see things in different ways.</p>
<!--&bull;<br>&bull;<br>&bull;<br>&bull;<br><p><br></p><hr size="4"><p><br></p><hr size="4"><p><br></p>&bull;<br>
<hr size="4"><hr size="4">&bull;<br><p><br></p><hr size="4"><hr size="4"><hr size="4">&bull;<br>&bull;<br>&bull;<br><p><br></p>
<hr size="4">&bull;<br>&bull;<br><hr size="4">&bull;<br><p><br></p><hr size="4">&bull;<br>&bull;<br><hr size="4">&bull;<br><p><br></p>
<hr size="4"><p><br></p>&bull;<br>&bull;<br><p><br></p><hr size="4">&bull;<br><p><br></p><hr size="4">&bull;<br><hr size="4"><hr size="4">
<p><br></p>&bull;<br>&bull;<br><hr size="4"><p><br></p>&bull;<br><hr size="4">&bull;<br><p><br></p>&bull;<br><hr size="4">&bull;<br>&bull;<br>
<p><br></p>&bull;<br><hr size="4">&bull;<br><hr size="4">&bull;<br><hr size="4"><p><br></p><hr size="4">&bull;<br><hr size="4">&bull;<br>
<p><br></p><hr size="4"><hr size="4"><hr size="4"><p><br></p><hr size="4"><hr size="4"><p><br></p><hr size="4">&bull;<br>&bull;<br><hr size="4">&bull;<br>
<p><br></p><hr size="4">&bull;<br><hr size="4">&bull;<br><p><br></p>&bull;<br><hr size="4">&bull;<br><p><br></p><hr size="4">&bull;<br><p><br>
</p><hr size="4"><hr size="4">&bull;<br>&bull;<br><p><br></p>&bull;<br>&bull;<br><hr size="4"><p><br></p>&bull;<br>&bull;<br><hr size="4">&bull;<br><p><br>
</p>&bull;<br><hr size="4">&bull;<br><p><br></p>//-->

#2 User is offline   Delta68 

  • Premium Member
  • Group: +Premium Members
  • Posts: 1472
  • Joined: 05-March 07

Posted 22 February 2012 - 07:40 AM

You can still have comments in your html but you can't have html tags inside the comments!


Mark

#3 User is offline   Ambient_Skater 

  • Geocacher
  • Group: +Premium Members
  • Posts: 1048
  • Joined: 22-April 11

Posted 22 February 2012 - 07:44 PM

Does viewing the source of a cache page show the HTML exactly as the CO entered it? I thought the site took the HTML and then generated its own HTML to make the page appear as the CO intended but not with the same code.

This post has been edited by Ambient_Skater: 22 February 2012 - 07:44 PM


#4 User is offline   niraD 

  • rehcacoeG
  • Group: +Premium Members
  • Posts: 5211
  • Joined: 24-January 06

Posted 22 February 2012 - 11:13 PM

View PostAmbient_Skater, on 22 February 2012 - 07:44 PM, said:

Does viewing the source of a cache page show the HTML exactly as the CO entered it?
That depends on whether HTML Tidy finds anything in the HTML the CO entered that needs to be repaired/filtered.

This post has been edited by niraD: 22 February 2012 - 11:14 PM


#5 User is offline   HEADLANDERS 

  • Premium Member
  • Group: +Premium Members
  • Posts: 85
  • Joined: 23-October 10

Posted 23 February 2012 - 12:25 AM

View PostDelta68, on 22 February 2012 - 07:40 AM, said:

You can still have comments in your html but you can't have html tags inside the comments!

That is correct. Everything you put inside the comment tags will appear in the 'comment' including any code contained therein.

#6 User is offline   ds8300 

  • Premium Member
  • Group: +Premium Members
  • Posts: 5
  • Joined: 09-April 03

Posted 23 February 2012 - 02:42 AM

Thanks for the feedback. It seems that there is a problem to keep HTML tags in the comments. I have seen other caches that DO have HTML code in comments but they were published before the new version of the site and presumably are not affected. The use of the HTML tags <br> and <p> were an integral part of the clue to the cache so I will have to find an alternative. Any tips will be appreciated. ds8300

#7 User is offline   HEADLANDERS 

  • Premium Member
  • Group: +Premium Members
  • Posts: 85
  • Joined: 23-October 10

Posted 23 February 2012 - 02:30 PM

View Postds8300, on 23 February 2012 - 02:42 AM, said:

Thanks for the feedback. It seems that there is a problem to keep HTML tags in the comments. I have seen other caches that DO have HTML code in comments but they were published before the new version of the site and presumably are not affected. The use of the HTML tags <br> and <p> were an integral part of the clue to the cache so I will have to find an alternative. Any tips will be appreciated. ds8300


Well, it isn't a 'problem' as such that HTML tags don't work in 'comments', it's because the whole idea of comments in any programming code is so that notes can be added which will be entirely ignored by the parsing of the code.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic