Why does Contribute generate extraneous HTML code?

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

I've just written a detailed list of editing tips for our internal use that, in addtion to using "Paste Text Only", describe how to avoid or re-key Microsoft Office curly quotes and apostrophes, use only Contribute's Insert | Special Characters, etc.
In addition, I created a new role in which I made the following changes:
Under Editing, under“General editing restrictions”, checked the “Prevent users from inserting images (except shared assets); under “Paragraph spacing, changed so “Enter key moves insertion point down:” “Two lines, as in web page editors (uses standard <p> tags”; under “Other editing options”, unchecked “Allow multiple consecutive spaces”
Under Styles and Fonts, under “Styles and Fonts”, unchecked “Include CSS styles in the Style menu; unchecked “Allow users to apply fonts and sizes”; and unchecked “Allow users to apply font color and background color”.
Under New Pages, unchecked “Create a blank page”
Our initial experimentation indicates this eliminates most of the extraneous and junk HTML code that Contribute otherwise introduces. Time will tell. However, it requires contributors to be pretty rigorous.

Similar Messages

  • Does anyone have the HTML code for the Buffy Font

    Does anyone have the HTML code for the Buffy Font?

    1) download one of the Buffy fonts @ font space, just as Hans-Günter wrote.
    2) go to FontSquirrel, and use the web font generator: http://www.fontsquirrel.com/tools/webfont-generator
    3) load up your buffy font, and generate the web font.
    4) download the zip package, and check out the included demo file
    Copy all the font files (all four of them) to your web folder. Then copy the code that looks like this to the top of your css:
    @font-face { font-family: 'FontName'; src: url('FileName.eot'); src: url('FileName.eot?#iefix') format('embedded-opentype'), url('FileName.woff') format('woff'), url('FileName.ttf') format('truetype'), url('FileName.svg#FontName') format('svg'); font-style: normal; font-weight: normal; }
    Check that all file references are set up correct, and use the font name  in your css rules.
    h1 {
    font-family: 'FontName';
    Done!

  • HT3702 Why does it say invalid security code when I'm prompted to sign in?

    Why does it say invalid security code when I'm prompted to sign in. I have intered my security code from my credit card several times. It will not allow me to use the app store, even for free purchases.

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • Designerd does not generate Order BY code for Sort Order on a lookup tabel column.

    I am setting the Sort Order on a column which is based on a lookup table.
    When generate the the module, designer does not generate the code for the Sort Order that I set on the lookup table column.
    Is there a work around for this problem or is there some thing else that needs to be done in designer to make it generate the order by clause?
    I will very much appreciate help.
    Regards
    Prasad.

    A bound lookup item, will be generated as a NON-database item in Forms. Designer generates an ORDER BY CLAUSE (a Forms Block property) for the ordering. But a NON-database item cannot be included in the ORDER BY CLAUSE.
    I used a stored function for ordering the lookup item.
    Best regards
    Harm van Zoest

  • Generating QT html code for blog

    I'd like to generate html code for quicktime audio files to embed on my blog posts. I use blogger. Can I do this? Is quicktime the best/easiest way to go about this? I have the free version of QT, not pro. Thanks

    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    codebase=
    http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0
    width="200" height="16">
    <param name="qtsrc" value="sample.mp3" />
    <param name="autoplay" value="true" />
    <embed qtsrc="sample.mp3" autoplay="true" width="200"
    height="16"
    pluginspage="http://www.apple.com/quicktime/download/">
    </embed>
    </object>

  • Why does It say My Security code is invalid on iPhone 6?

    My iPhone 6 is new. And am still trying to create an Apple id . But IT says that My security cord is invalid!!! I don't know Why , i mean am writing the code that is on the back of My Bank card ( Swedbank) Visa. So what is the problem?

    ManSinha,, i am creating a apple id on my iphone but when i come to payments, i have to tap in my bank card number and security code (security code is on the back side of your bank card) but when i do write the security code, it does not work. i don't know why. i haven't and i can't gobinto apple store to download anything. i don't know what's problem. do you plz understand now?!

  • Need a help to generate online html code

    I need a help with html code. I my page user in the tet area inserting a plain text and i am using servlet put it to DB, but now we need to use not plane text. Need to use custom text like <font color=121245>hello</font> <font color=457898> nice day</font>

    but now we need to use not plane text.Who is we?
    Need to use custom text like <font color=121245>hello</font> <font color=457898> nice day</font>Have you tried anything yet?
    What aspect of this requirement is tripping you up?

  • Why does ADF generate referenced classes (FK) as Accessor not as Attribute?

    Question is simple when ADF generates Entity classes, it does not generate referenced object as Accessor, not as Attribute and this causes problems on SelectOneChoice.
    Is it normal?
    Child Class : { id, name, parentObject } (ID and Name is generated as Attribute, parentObject is generated as Accessor)
    Parent Class : {id, name}
    When I create ADF Form for Child class, it only creates form for ID and NAME attributes, and ignores parentObject attribute. When I add selectOneChoice manually for selecting parentObject of child class, it does not update Child Class with mergeChild() action. Simply ignores?

    There have been requests on this and currently this is not supported. (check this thread http://forums.adobe.com/message/2267567#2267567)
    you can vote for the bugs for this to be supported in a later build / release.
    https://bugs.adobe.com/jira/browse/FB-23156
    https://bugs.adobe.com/jira/browse/LCDS-971 
    Thanks
    -Sunil

  • Why does debugger not find source code when compiler output has been directed to the root directory, but the source is in a sub-directory, using Forte for JAVA community edition V3.0

    I have configured Forte to put compiler output, i.e. my classes, in the root directory of the project. I now find that the debugger does not find the source code when it is in a sub-directory. However, if I temporarily copy a classes' source code to the root directory the debugger will display it.
    To direct compiler output to the root directory I selected Project >Settings>Compiler types, then External Compiler ( which is the default compiler in my case ) and set Target to be the root project directory. This is the only directory it will allow.

    This Forum is for Forte 4GL or UDS as its called today. I am not sure if anybody is going to be able to answer your question here. Sorry.
    ka

  • Why does wrapping generate different results?

    Hi,
    I have a tex box that I am using as a caption for an image. Both the image and caption are laid out in a column of text and both objects use text wrapping for some breathing room from the body text. I would like to create a tad more breathing room under the text box but when I add a pixel to the wrap buffer it causes the body text to move an entire line away. In other locations within the document performing the same action causes the body text to move away from the text box incrementally in direct correspondence with the added buffer values.
    Why does increasing the wrap buffer sometimes cause the body text to jump an entire line away and sometimes just inch away one pixel at a time?
    Thanks,
    b

    Thanks for the prompt reply.
    I uploaded a .pdf that includes callouts to explain what I am asking.
    If I understand what you are saying, the example I cite where the text moves one pixel at a time derives from the fact that the wrapped object is located at the top of the column, whereas when the text jumps an entire line it is because the wrapped object is below the first line of body text.Correct?
    Is there a workaround you can think of? Split the text frames so the object is at the top of the column? modify the leading slug or baseline grid behaviors somehow?
    http://www.seawead.org/wrap2.pdf
    thanks again.
    b

  • Why does SharePoint put in character code 8203 in a richtext field?

    I use some RichHtmlField controls (PublishingWebControls) in different pagelayouts. I edit the pages, put some text in the fields and publish. It all seems to work fine, but I've noticed that SharePoint saves an extra character to my string. Usually it's
    added at the beginning of the string, but sometimes at the end.
    You cannot see it using the ordinary browser window, because it's a zero width space character. But if you right click and select View source, it's visible as a big space. 
    It's possible to copy the text from the view source window to a text editor preserving this character, so I pasted it as a string in a c# program. When I loop through every character in the string to check its ascii value, this particular character shows as
    8203.
    I used CAML Builder to check what my string looked like in the database. I couln't see anything strange, but when I copied the string from the CAML Builder result tab and pasted it into a hex editor, you could clearly see that the strange character was there.
    The problem is that we translate our pages to different languages and this character makes the translation engine go bananas.
    Has anyone experienced this before or has any idea how this could be solved?

    I wrote this little gem which is a bit DOM-intensive but it does the job...
    function spCleanup(code){
    if(code.children().length > 0){
    code.html(jQuery('<div>').append(code.children().clone()).html().replace(/&nbsp;|&#160;|\r\n|\n|\r|\t/g,'').replace(/\s{2,}/g,' '));
           code.children().each(function(){
    spCleanup(jQuery(this));
    spCleanup(jQuery('#s4-bodyContainer'));

  • Why does Flash generate invalid class names for library items?

    I imported a bunch of bitmaps (PNGs).  The library symbol names all included the full file name and its extension.  When I check "export for actionscript" it generates a class name based on the symbol name, and it includes the ".png", even though that's invalid in a class name.
    When I select multiple bitmaps and choose properties and export for actionscript, it has a note saying that classnames will be automatically generated for all items, but it does the same thing... including the ".png" in all the class names.  Is this a problem?  Wouldn't it save time if Flash would automatically strip the file extension from the instance name of bitmap library symbols when generating class names?

    Thank you Nipun.  That is exactly the behavior I would expect, and I can confirm that in the trial of Flash CC it generates valid class names by removing the file extension.  For example, a file named "3ball.test.png" will receive an auto-generated class name of "_3ball_test", so it really does ensure the class name is valid (meeting AS3 class name syntax)
    kglad, what I'm saying is that an image file name like "ball.png" is not a valid "class name", because it contains a period, which is reserved as a package delimiter.  I know the runtime can handle it as a valid "fully-qualified class name", but it's misleading because it's actually creating a class named "png" in package "ball", BUT it's understood that the auto-generated name is not supposed to be specifying any package, hence the misleading specification.  The class would have to be instantiated like this: "import ball.png; var bd:BitmapData = new png();" or "import ball.*; var bd:BitmapData = new png();"  You would also then have to import every single class individually and always use their fully qualified names, because you'd technically have a bunch of classes all named "png" inside a hundred different packages.  It's just not acceptable.
    The other problem that occurred in CS6 is if you loaded a bunch of files whose names started with numbers, then when you select them all, choose properties, and use the batch properties window to export them for actionscript, I noticed that such images would be auto-assigned generic names like "Class4" as it would realize the default auto-generated class name would be invalid.  This problem has been fixed beautifully in Flash CC.
    Nipun, it would actually be very helpful to have a little more control over the class naming conventions.  For example, if I wanted all my BitmapData classes to exist in an "images" folder or package, it would be helpful if in the batch properties window I could specify a package name for all the auto-generated class names.  When importing hundreds of images, it's very tedius to have to edit them individually and I don't always have time to write a JSFL script.  There's room in that window to add a text field for a package name.  Thanks!

  • Why does LabVIEW generate -0?

    I have attached a bit of code that occaisonally generates a value of -0.
    Solved!
    Go to Solution.
    Attachments:
    negative zero.vi ‏7 KB

    Darin.K wrote:
    Jeff·þ·Bohrer wrote:
    Run that one through again Mike!  BOTH outputs are -0  (REALLY thats the correct behavior!)
    There is something missing, both outputs should not be -0, and if they are that is really not the correct behavior.  Max & Min is simply a comparison and a swap (ie. a conditional swap).  In this case, comparing 0 and -0 should result in no swapping since they are "equal" by definition.  The Max and Min should simply passthrough the values, one output will be 0 and the other -0 with the order depending on the order of the input.
    At the risk of hijacking the thread  - My oppologies to the OP
    Go- ahead and debate it in the next IEEE conferance.  I have at least as much disrespct for authority as Dr Kinion.!   But, unlike (or maybe just like) Schroedinger and Heidelberg, I bow to thie wisdom of generating reproducalbe results- even if the results are technically incorrect.  Math is funny- with computers its even "funnier" because it needs to ......
    Too bad humans were not gifted with a random number of fingers. 
    Jeff

  • Why does Event.ENTER_FRAME cause this code to stop working? Is there a better alternative?

    I programmed the following code so that an array of buttons
    can be dragged across the screen when either on :
    var buttons:Array=[button1, button2, button3];
    for (var i:uint=0; i<buttons.length; i++)
    buttons[i].addEventListener(MouseEvent.CLICK, alignButtons )
    function alignButtons (e:Event)
         for (var i2:uint=0; i2<buttons.length; i2++)
          if(buttons[i2]!=e.target){buttons[i2].x=e.target.x;}
         for (var i3:uint=0; i3<buttons.length; i3++)
         buttons[i3].addEventListener(MouseEvent.MOUSE_DOWN, buttonDrag);
         function buttonDrag (e:Event)
        e.target.startDrag();
        e.target.addEventListener(MouseEvent.MOUSE_UP, buttonDrop);
        function buttonDrop(e:Event)
              e.target.stopDrag();    
    It works pretty much how I'd like it to work, except for the fact that I have to click the mouse to update the screen. However, when I change the first event listener from "MouseEvent.CLICK" to "Event.ENTER_FRAME" the code goes haywire. Is there another event listener I should be using here?

    Due to what appears to be an incomplete set of curly braces, it is hard to tell how much nesting you have there, but there should be none.  Each listener and event handler function should be able to stand on its own.  You should not have to put any functions inside a loop.
    Having the CLICK event listener is redundant if you have a MOUSE_DOWN and a MOUSE_UP because a MOUSE_DOWN followed by a MOUSE_UP is a CLICK. 
    If your goal is to have the buttons all follow each other around x-wise, then what you can do is assign a MOUSE_MOVE event listener at the same time you execute the startDrag and use its event handler for adjust button positions.  When you stopDrag, you also remove the MOUSE_MOVE listener.
    As far as why things go haywire when you change to using an ENTER_FRAME, you should show the code when it is in that form so that whatever error is evident.

  • Why does OWB generate merge statement when target type = Update

    Hi there
    getting problem message cannot generate merge. I don't undretand why even trying to ctreate a merge when should be an update and then sql would be fine.
    trying to update a table whose expiry date = '31-DEC-4000' (via raget filter for update
    and also put value from src into this field.
    This would be ok in sql
    update table
    set col = new_value
    where col = 31-dec-4000'
    Any thoughts - it seems strange why OWB generate a merge when set target type to Update since other target types of Update/Insert and Insert/Update available to generate merge.
    Many Thanks

    I understand what you are trying to say...
    One simple workaround for this is: In the mapping, add one more column in the target table eg: match_val. Set the bound name to match column eg: col.
    Set the one match_val attribute properties to "match column when updating" & actual column eg: col attribute properties to "Load column when updating".
    This will generate merge statement for your requirements. This will help u.

Maybe you are looking for

  • Display incorrctly!

    Hi, in my code. I want to plot a 2D object, a JSlider and two comb box. But the 2D object can't displayed correctly, can you look at my code? Please don't provide the link of sun swing tutorial, I have studied many times, but no achievement. import j

  • Not able to change product key in windows server using SLui command

    I have installed windows server 2012 r2datacenter and when I am trying to insert the product key using slui 3 command (in run windows),I am getting an error code as 0x80070003(The system cannot find the path specified error) I have tried running sfc/

  • Photo Booth Fade to Black

    Started Photo Booth tonight and it flashed up ok for about 2 seconds before starting to fade REALLy fast into blackness. Restarted photo booth - same thing. Restarted iMac - same thing Checked Forums, which suggested deleting pref file, did that - sa

  • Expression for a gauge in VC

    Hi, I'm new to VC. Trying to create a gauge on a query. In my iview, I have a query which displays data in a table (Force Element and Material Readiness). I added a form view connecting it with the table. In the form, i added a gauge "NUM1". now I'm

  • I can not join any secure wifi network with my iphone5

    I can not join any wifi network that requires a password including my home network. This is very frustrating