BUG: Spaces in inserted URLs break anchor tag

  •  09-09-2004, 8:03 PM

    BUG: Spaces in inserted URLs break anchor tag

    To replicate:

     
    Highlight text, past in a URI with a space.
     
    Example:
     
    Uri: mysite.com/this document.doc
     
    what CuteEditor writes:
     
    <a href="mysite.com/this" document.doc>text</a>
     
    This, of course, is completely invalid and breaks the link completely.
     
    Suggested fixes:
     
     - We not link to any files with spaces (I know we need to fix these as well)
     
     - CuteEditor parse the URL field and swap spaces for exapes %20
     
    The latter would be the preferred method.
     
     
View Complete Thread