Forums / Templates, Stylesheets, Page Layout / Spaces disappear in Product Descriptions

Spaces disappear in Product Descriptions

Locked

Views: 984

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
19 Apr 2009, 7:09 AM
#1
sirluck avatar

sirluck

New Zenner

Join Date:
Oct 2007
Posts:
32
Plugin Contributions:
0

Spaces disappear in Product Descriptions

I find that my product descriptions get multiple spaces truncated down to a single space. If I want to over-ride that, I have to use   ... That works fine, but the next time I edit that description, all occurences of   will be gone and I will have to reinsert them. Is there any way to prevent that?

19 Apr 2009, 1:08 PM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Spaces disappear in Product Descriptions

Multiple runs of white space, by default, are not displayed in web browsers. They all truncate to a single space. So I suppose a simple editor like that included with Zen Cart also defaults to that behaviour.

To avoid that you can do one of two things. You can install a better editor -- I installed FCKEditor in one of my stores and find it works fine. Or you can do your editing in a separate program designed for HTML editing, storing the results in files you maintain on your hard drive, and then copy and paste into ZC whenever you need to.

Rob

Breakfast: the most important donut of the day.