View Single Post
Old August 29th, 2011, 03:37 AM   #29 (permalink)
tgc45
Junior Member
Verified Customer
 
Join Date: Jul 2011
Posts: 18
Line Breaks in Showproduct

I have the WYSIWYG Editor set to off.

How do I get rid of the extra spaces (br) in the showproduct page description?

Users tend to use Enter (return) key to add line brakes in the description to make their text look right, like in the attached file. The result on the showproduct page is shown in the other jpeg. Looking around the web at other Photopost Classified sites, this seems to be a common occurance.

The generated html of the description is:
Code:
Content visible to verified customers only.
I want to strip out one of each pair of br's.
Attached Images
File Type: jpeg PostAd5lines.jpeg (11.1 KB, 2 views)
File Type: jpeg showprod5lines.jpeg (9.4 KB, 1 views)
tgc45 is offline   Reply With Quote