Skip to content
  • sullivan's avatar
    Reviewed by Beth Dakin · 53987a4c
    sullivan authored
            
            - fixed <rdar://problem/4239051> Sometimes "Copy Link" in Safari results in a 
            URL on the pasteboard with no usable "title"
    
            * History/WebURLsWithTitles.m:
            (+[WebURLsWithTitles writeURLs:andTitles:toPasteboard:]):
            trim whitespace from titles that are put on pasteboard. This leaves an empty string
            for the title in cases where there's no displayed text, like an image in an <a> element
            that happens to have whitespace in the source, e.g. <a href="foo"> <img whatever></a>
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    53987a4c