I have an HTML warning on my product_info page dealing with the attribute images. The following code found in the attributes.php file returns the following HTML warning.
$tmp_attributes_image .= '<div class="attribImg"><a href="javascriptopImage(\''. $attribute_image_lrg.'\',\'Large View\',\''. $selected_attrname.'\')">'. zen_image(DIR_WS_IMAGES . $products_options->fields['attributes_image']) . (PRODUCT_IMAGES_ATTRIBUTES_NAMES == '1' ?'<br/>' . $products_options->fields['products_options_values_name'] : '') . '</a></div>' . "\n";
<a> escaping malformed URI reference
and displays the following with the highlighted red slashes
<div class="attribImg"><a href="javascriptopImage('images/large/SweetZouZou/almond_cranberry_shd_LRG.jpg','Large View','Step 2: Flavour:Almond Cranberry')"><img src="images/attributes/almond_cranberry_shd.jpg" alt="" width="100" height="76" /><br/>Almond Cranberry</a></div>
The "clean up the page" shows the following code
<div class="attribImg"><a href="javascriptopImage('images/large/SweetZouZou/almond_cranberry_shd_LRG.jpg','Large%20View','Step%202:%20Flavour:Almond%20Cranb erry')">
<img src="images/attributes/almond_cranberry_shd.jpg" alt="" width=
"100" height="76"><br>Almond Cranberry</a></div>
<br> is not correct though and <br/> is correct. Why is this a warning?
I don't know how to remove the / after height= "76".
Thx Sweet
Bookmarks