Extra paragraph tags in webpage content

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Extra paragraph tags in webpage content

Post by david-ebt » Thu Oct 31, 2013 10:38 am

The built-in editor for editing the content on a webpage is adding some extra paragraph tags. If I put this into the webpage content in HTML mode:

Code: Select all

<!-------------- Some special instructions ------------------->
<!-------------------------- BANNERS -------------------------------->
<img src="/Assets/BannerHeader.jpg" alt="" width="950" height="140" />
[[ConLib:FeaturedProductsGrid]]
and then save, the editor changes it to:

Code: Select all

<!-------------- Some special instructions ------------------->
<p>&nbsp;</p>
<!-------------------------- BANNERS -------------------------------->
<p><img src="/Assets/BannerHeader.jpg" alt="" width="950" height="140" /> [[ConLib:FeaturedProductsGrid]]</p>
If I change the HTML to:

Code: Select all

[[ConLib:FeaturedProductsGrid]]
<!-------------- Some special instructions ------------------->
<!-------------------------- BANNERS -------------------------------->
<img src="/Assets/BannerHeader.jpg" alt="" width="950" height="140" />
then this results:

Code: Select all

<p>[[ConLib:FeaturedProductsGrid]]</p>
<!-------------- Some special instructions ------------------->
<p>&nbsp;</p>
<!-------------------------- BANNERS -------------------------------->
<p><img src="/Assets/BannerHeader.jpg" alt="" width="950" height="140" /></p>
There are other tags that also result in the extra paragraph tags so the solution isn't just remove all comments.

Any thoughts? Thanks,
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Extra paragraph tags in webpage content

Post by jmestep » Thu Oct 31, 2013 3:21 pm

No suggestions, but it's been a nuisance for us also. They get put in even if we do it in html and not WYSIWYG view.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
tripleW
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 46
Joined: Wed Oct 30, 2013 5:38 am

Re: Extra paragraph tags in webpage content

Post by tripleW » Sat Nov 02, 2013 10:06 am

I was using html comments to help catalog admins on certain products in AC7 and I'm also less than pleased with this built in editor for that purpose. I'm thinking about moving the comments to the Summary area because you don't have to click on the html source to view and the formatting won't be changed.

Post Reply