Hi David,
I'm sure you've cover this before (or maybe for another feature) but I'm interested in display the html in the product reviews.
Is there a quick mod for this?
regards Rod
Hi Rod,
The HTML is blocked by the call to htmlentities() on line 15 of html/ratings.php:
<?php print htmlentities($review["comments"],ENT_QUOTES,$config_charset); ?>
To permit HTML, simply replace this with just:
<?php print $review["comments"]; ?>
Cheers, David.
Thanks David,
works a treat.
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hi Rod,
The HTML is blocked by the call to htmlentities() on line 15 of html/ratings.php:
<?php print htmlentities($review["comments"],ENT_QUOTES,$config_charset); ?>
To permit HTML, simply replace this with just:
<?php print $review["comments"]; ?>
Cheers,
David.