Not sure whether this would be classed as a bug but function zen_clean_html does not get rid of inline javascript in the product description cleanly/completely.
Why is there javascript in the product description: I have a few products that use an expanding table function which I really don't need to be loaded globally on all product pages so its used in that product description only.
This results in this type of thing in the product listing:
from this sourceSingled-sided paddock stand pins are available in a range of outer diameters, choose the one appropriate for the inner diameter of your bike hub. $(document).ready(function() {$("table").tablesorter({widgets: ["zebra"],
Suggestions?<p>Singled-sided paddock stand pins are available in a range of outer diameters, choose the one appropriate for the inner diameter of your bike hub.</p>
<script type="text/javascript" src="includes/templates/My template/jscript/jquery.tablesorter.js"></script>
<script type="text/javascript">$(document).ready(function() {$("table").tablesorter({widgets: ["zebra"], widgetOptions:{zebra:["normal-row", "alt-row"]}});});</script>
Bookmarks