Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

Last post 06-10-2010, 8:45 PM by Kenneth. 7 replies.
Sort Posts: Previous Next
  •  04-08-2010, 11:42 AM 59944

    Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

    CuteEditor does not handle <a> tags with an empty href attribute (possibly happens only when a target attribute is also present) tags correctly.
    The html code gets "chopped" incorrectly, resulting in a "href_cetemp" attribute appearing and in some cases invalid HTML (attributes with opening quotes and no closing quotes.
     
    (I know, a tags with ampty href attributes aren't good for anyhting, but explain that to a user that entered this piece of code and had half of his html disappear)
     
    This can be reproduced on 
    http://cutesoft.net/example/general.aspx today (so it is valid for the current version)
     
    To reproduce, do the following:
    1. go to 
    http://cutesoft.net/example/general.aspx
    and switch to HTML view
    2. paste the following  HTML instead of  the example HTML
    <a href="" target="_blank">blabla</a>
    blabla yourself
    3. Switch to "Normal" view, then back to HTML view
    4. The HTML code was changed to:
     
    <a href="" target="background-color: yellow; font-family: Courier;"><a href="" target="_blank">blabla</a>
    does a lot of "fun and destructive" things to html code around it in CuteEditor. try pasting it into the example HTML in different places to see it butcher the HTML in all sorts of ways
     
  •  04-08-2010, 11:53 AM 59945 in reply to 59944

    Re: Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

     CuteEditor butchered the last part of my post. I'll try to post the last steps again:
     
    3. Switch to "Normal" view, then back to HTML view
    4. The HTML code was changed to:
     
    <a href="" target="background-color: yellow; font-family: Courier;"><a href="" target="_blank">blabla</a>
    does a lot of "fun and destructive" things to html code around it in CuteEditor. try pasting it into the example HTML in different places to see it butcher the HTML in all sorts of ways
     

  •  04-08-2010, 11:55 AM 59946 in reply to 59945

    Re: Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

    <a href="" target=" href_cetemp=">blabla</a>
    blabla yourself

    is the bad code that gets generated.
  •  04-08-2010, 12:13 PM 59947 in reply to 59946

    Re: Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

    Here's a much more destructive version of the same problem:
     
    in the same example page (
    http://cutesoft.net/example/general.aspx
    )
    switch to HTML view and paste the "offending tag" 
     
    <a href="" target="_blank">blabla</a>
     
    right before the words "When your algorithmic and programming skills..."
     
    then switch to "Normal" view and see how about half of the HTML disappears...
  •  04-09-2010, 4:11 AM 59961 in reply to 59947

    Re: Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

    Hi Ofer,
     
    We are investigating this issue and will get back to you as soon as possible.
     
    Regards,
     
    Ken
  •  04-12-2010, 6:54 PM 60028 in reply to 59961

    Re: Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

    Any updates? Have you guys been able to reproduce this issue? any ETA for a fix?
  •  04-12-2010, 10:01 PM 60037 in reply to 60028

    Re: Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

    Hi Ofer Tal,
     
    We will fix this issue in next version.
     
    Regards,
     
    Ken
  •  06-10-2010, 8:45 PM 61671 in reply to 60037

    Re: Empty <a href=""> causes bad html and "href_cetemp" to appear (CE 6.6)

    Hi Ofer Tal,

    This issue has been fixed, please download the latest version and try again.

    Latest version download http://www.cutesoft.net/downloads/folders/21904/download.aspx

    Regards,

    Ken

View as RSS news feed in XML