SPAN tags out of control

  •  05-29-2009, 8:53 PM

    SPAN tags out of control

    Hi -
     
    My customers use CuteEditor in ASP.NET to edit their content in a custom CMS we have created.
     
    Every so often I see customer HTML where the SPAN tags are completely out of control. The customer complaint is typically that the page/control is so bogged down that it has become completely unresponsive and unusable.
     
    The only solution for me at that point is to clean out all of the SPAN tags and rebuild their content.
     
    These are very naive users.  I assume the main issue here is that they do a little formatting, then a little more, then a little more, etc., perhaps each time with a slightly different selection.
     
    If we assume this is the pattern of usage, is the proliferation of SPAN tags inevitable? Is there something we can do to get these tags to collapse somehow? Is this the result of something we are doing?  Is there a setting like, "make a horrible mess of things" that we turned on in error?
     
    This is a significant support issue for us so I'd love to find a solution.
     
    Note - we haven't upgraded to the current version - we are an update or two behind. I can verify the actual version if it is relevant to the discussion.  If we can establish that upgrading will help we'll do it.
     
    Thanks for your help.
     
    Jeff
     

     
    Excuse the mess - here is a small sample of the nasty HTML that my users are creating (that I have to clean up):
     
     
     
    <p style="font-size: 10pt;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="font-size: 10pt;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="font-size: 12pt;"><strong></strong></span></span></span></span></span></span></span></span></span></span></span><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="font-size: 8pt;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080; font-size: 10pt;"><span style="color: #cc0000;"><span style="font-size: 8pt;"><span style="font-size: 10pt;"><span style="font-size: 8pt;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000; font-size: 10pt;"><span style="font-size: 10pt;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><strong><span style="color: #cc0000;"><strong><u style="font-size: 8pt;"><span style="font-size: 10pt;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><a class="customLink" href="http://cutesoft.net/component.aspx?id=5754&amp;type=Page"><span style="color: #cc0000;">News</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></u><a class="customLink" href="http://cutesoft.net/component.aspx?id=5754&amp;type=Page"></a></strong><span style="font-size: 10pt;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #cc0000;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #800080;"><span style="color: #800080;"><span style="color: #cc0000;"><strong><span style="color: #cc0000;"><strong><u><a style="text-decoration: underline;" class="customLink" href="http://cutesoft.net/component.aspx?id=5754&amp;type=Page">letters</a></u><a style="text-decoration: underline;" class="customLink" href="http://cutesoft.net/component.aspx?id=5754&amp;type=Page"></a></strong></span></strong></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><strong><span style="color: #cc0000;"><a class="customLink" href="http://cutesoft.net/component.aspx?id=5754&amp;type=Page"><u>&nbsp;</u></a></span></strong></span></strong></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></p>
                 </span></span></span></span></span></span></span>
                 </strong>
     
     
     
     
     
View Complete Thread