9

I want to use copyright symbol in jspx, but it is not allowing me to use © . It is throwing me an error.

The entity "copy" was referenced, but not declared.

I googled it out and found that i need to modify escapeMode . But I do not know where I should change it.

Or anyone has the solution, please let me know.

John Saunders
  • 160,644
  • 26
  • 247
  • 397
pankaj
  • 1,643
  • 4
  • 22
  • 35

1 Answers1

9

You may need to find the section of your template and add the entity declaration.

Here's an example with a few common entities:

<!DOCTYPE html [
<!ENTITY nbsp "&#160;">  
<!ENTITY copy "&#169;"> 
<!ENTITY bull "&#8226;"> ]>

Here is a list of the entities in HTML4

PHY6
  • 391
  • 3
  • 12