Product Comments HTML-style

  • Posts: 50
  • Thank you received: 1
11 years 11 months ago #82895

When my customer writes a long reviews with many paragraphs (about 5-6) he wants to have 1 break line spacing between each paragraph. However, the text he types into the comment section will result in everything joined together. Making the comment a very large block of paragraph instead 5-6.

Is there any way we can have paragraph break lines in the comment section? Need to add HTML feature?

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #82983

Hi,

Thanks for the report, we corrected it on our end.

Edit the file "administrator/components/com_hikashop/classes/vote.php" and in the function "saveFrontend()" change the two lines:

$vElement->vote_comment = strip_tags($element->comment);
By:
$vElement->vote_comment = $db->quote($element->comment);

Please Log in or Create an account to join the conversation.

Time to create page: 0.048 seconds
Powered by Kunena Forum