This question already has an answer here:
we are using above attributes.phtml file to display the attibutes in frontend.
suppose if attribute value is empty , than thiose attributes will not display in frontend for the
particular product .
but if we give some empty space in the attribute text field, than those attributes are displaying in the frontend.
if we gave empty space as attribute values , than we want to hide those attributes for the particular product.
ex: if attribute manufacturer = "" than color will not display in frontend
if attribute manufacturer = " " than color will display in frontend. we want to hide color here....
please help me to find solution.