Thread: Head scratcher
View Single Post
Old 08-27-2016, 06:27 AM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by crutledge View Post
The following statrment nas me scratching my head!!!

PHP Code:
The 
  
<h2 id="Ch_01">CHAPTER I.&gt;</h2
I replace it with ">" but when I run HTML Tidy, the ".&gt;" returns.

It makes my head itch
It's the rules of HTML. There are a few characters which have to be replaced with HTML entities.
> replace with &gt;
< replace with &lt;
& replace with &amp;

There may be others but I can't think of them off-hand.
jackie_w is offline   Reply With Quote