Closed (fixed)
Project:
AddThis
Version:
6.x-2.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2009 at 14:01 UTC
Updated:
24 Oct 2009 at 18:46 UTC
Hello,
the header give out the following code:
<script type="text/javascript">
<!--//--><![CDATA[//><!--
addthis_pub = 'BJSDE';
addthis_logo = 'http://www.addthis.com/images/yourlogo.png';
addthis_logo_background = 'EFEFFF';
addthis_logo_color = '666699';
addthis_brand = 'BSC';
addthis_options = '<p>favorites, email, digg, delicious, myspace, facebook, google, live, aim, aolfav, myweb, twitter, more</p>';
addthis_disable_flash = 'true';
//--><!]]>
</script>
HTML Tidy claims addthis_options should have a <\ /p> instead of a simple
at the end to give out correct code. How do I have to fix this?
Comments
Comment #1
vesapalmu commentedHTML Tidy is wrong. To my best knowledge in XML CDATA sections you can have any unescaped data with the exception of ]]>.