+ Start a Discussion
BrianWKBrianWK 

© in footer component occasionaly returns apex pagemessage error

On my footer component for my Site Template I have "copy;" in a div. Every now and then I get the following page message in my apex: PageMessages.y. 

 

"The entity "copy" was referenced, but not declared. at line 17"

 

 It doesn't happen all the time and  doesn't seem to be any pattern. The footer component in my template looks like this:

 

<div class="clearing">&nbsp;</div> <div id="footer"> <div id="p1s_footer"> <ul> <li><a href="http://www.pharmacyonesource.com/terms_of_use.asp" class="nu">Terms of Use</a></li> <li><a href="http://www.pharmacyonesource.com/privacy_policy.asp" class="nu">Privacy Policy</a></li> <li><a href="http://www.pharmacyonesource.com/contact/default.asp" class="nu">Contact Us</a></li> <li><a href="http://www.pharmacyonesource.com/about/default.asp" class="nu">About Us</a></li> <li><a href="http://www.pharmacyonesource.com/careers/default.asp" class="nu">Careers</a></li> </ul> <!-- New WebEx Link Test //--> <div id="copyright">copyright &copy; 2000 - 2009 Pharmacy OneSource, Inc.</div> </div> </div> <div style="display:none;"> <img src="" id="dm" alt="statistics_tracker" /> </div> </apex:component>

 

 

 

Any idea what's going on and how to fix it?

Best Answer chosen by Admin (Salesforce Developers) 
admintrmpadmintrmp

Do not try and do the html entity version. Unfortunately you will come up with W3C validation errors, but instead use the actual copyright symbol.

 

Keyboard shortcut: alt + 0169

All Answers

admintrmpadmintrmp

Do not try and do the html entity version. Unfortunately you will come up with W3C validation errors, but instead use the actual copyright symbol.

 

Keyboard shortcut: alt + 0169

This was selected as the best answer
BrianWKBrianWK

Fantastic! Thanks for your help. Took a while for the keyboard shortcut to work, but it finally did.

 

Thank you