Ok, So I've been crawling the forum for the past few hours about zen_clean_html and am still having issues with getting an html table to work properly in the description.
here is the code from my inlcludes/modules/theme/product_listing.php:
the only other time "zen_clean_html" is used is in a section commented out near the bottom at line 186 with a comment "add description and match alternating colors".PHP Code:$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id'] > 0) ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' . zen_trunc_string(/*zen_clean_html*/(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';
Below are screen shots of what I'm seeing.
What the product looks like in the category list:
What the product looks like on the product page:
What the table looks like(and should look like) in the product preview on the admin page:
![]()


Reply With Quote
