Quantcast
Channel: Adobe Community : Popular Discussions - Contribute
Viewing all articles
Browse latest Browse all 1458

Why does Contribute generate extraneous HTML code?

$
0
0

Why does Contribute CS4 generate so much extraneous HTML code that is either redundant or conflicts with styles specified in our style sheet?  Below are examples of what we've encountered in the first two weeks of using the product.  It seems that, if we keep using Contribute, our website will soon be cluttered with junk code.  (Some of the special characters listed below and generated by Contribute do not display correctly in this forum.)

 

 

1.       This simple Heading 1 tag: <h1>Heading 1</h1>
gets replaced with this code:
<p style="margin-top:0;"><span style="font-family:times new roman;font-size:16px;"><strong><span style="font-family:verdana; font-size:15px;">Heading 1</span></strong></span></p>

2.       This simple Heading 2 tag: <h2>Heading 2</h2>
gets replaced with this code:
<p><span style="font-family:times new roman;font-size:16px;"><strong><span style="font-family:verdana; font-size:13px;">Heading 2</span></strong></span></p>

3.       This simple Paragraph tag: <p>Text</p>
gets replaced with this code:
<span style="font-family:verdana;"> </span><p style="margin-top:0;margin-bottom:0;"><span style="font-family:times new roman;font-size:16px;">Text<span style="font-family:verdana;font-size:13px;">Text</span></span></p>

4.       The standard straight quote symbol (&quot;) gets replaced with left and right quotes (&ldquo;) (&rdquo;)

5.       Apostrophe’s get replaced with “&rsquo;”.

6.       Odd, non-visible (in some browsers) characters are inserted, like: “”.

7.       Dashes get replaced with these special characters, which may not display in all browsers: “—”.

8.       This non-standard style tag gets inserted at the top of some pages:

<!--
.style1 {font-size: 15px}
-->
</style>


9.       Trademarks, which are reliably denoted with just ”&trade;”, get replaced with this code and these special characters, which may not display in all browsers: “<span style="font-size:12px;">â„¢</span>”.

10.   The simple Heading 1 tag: : <h1>Heading 1</h1>
gets overridden with this code:
<h1><span style="font-family:times;font-size:16px;"><span style="font-family:arial;font-size:15px;color:black;">Heading 1</span></span></h1>

11.   This simple Paragraph tag: <p>Text</p>
has the inappropriate “ServNAV” navigation style applied to it:
<p class=”ServNAV”>Text</p>

12.   This simple Paragraph tag: <p>Text</p>
gets replaced with this code:
<p style="margin-top:0;"><span style="font-family:Times New Roman;font-size:15px;"><span style="font-family:verdana;font-size:12px;color:#333333;">Text</span></span></p>

13.   Extra filler space gets inserted at the bottom of a page with this code:
<p style="margin-bottom: 0;"> </p>

14.   Internal links are created as absolute (<a href="http://www.company.com/subfolder/Client-One.html">) rather than relative links ()<a href="../subfolder/Client-One.html">.

15.   Links to other sites are coded incorrectly,
as in “<a href="www.company.com">www.company.com</a>”
instead of: “<a href="
http://www.company.com">www.company.com</a>”.

16.   This simple bold Paragraph tag: <p><strong>About Company</strong></p>
gets replaced with this
<p
style="margin-bottom: 0;"><strong>About Company</strong></p>

17.   This simple Paragraph tag: <p>Text</p>
gets replaced with this code:
<p style="margin-top:0;"><span style="font-family:times new roman;font-size:16px;"><span style="font-family:verdana;font-size:13px;">Text</span></span></p>

 

Message was edited by: JerryWeb


Viewing all articles
Browse latest Browse all 1458

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>