freegeek Posted September 19, 2009 Posted September 19, 2009 As the topic title says, all of my product descriptions in my store are shown as plain test without any new lines being inserted where I want them. Is there any way to overcome this problem? Thanks
freegeek Posted September 19, 2009 Author Posted September 19, 2009 <br> ? ohh do you need to insert html formatting?
peter222 Posted September 19, 2009 Posted September 19, 2009 yes, or install TinyMCE or something like that ;)
MrPhil Posted September 19, 2009 Posted September 19, 2009 If you simply output (in HTML) a bunch of lines, the browser will glue them together into one long paragraph. This is line 1.This is line 2. This is line 3. becomes This is line 1. This is line 2. This is line 3. You need to explicitly tell the browser where to break the text, either with <br> or with <p>...</p> tags. Be careful to check whether the code lets HTML tags through unscathed, or mangles them to displayable form (e.g., <br>).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.