Page 1 of 1

Extra paragraph tags in webpage content

Posted: Thu Oct 31, 2013 10:38 am
by david-ebt
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,

Re: Extra paragraph tags in webpage content

Posted: Thu Oct 31, 2013 3:21 pm
by jmestep
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.

Re: Extra paragraph tags in webpage content

Posted: Sat Nov 02, 2013 10:06 am
by tripleW
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.