Bug 155850 - DataDetection creates links that are longer than the actual result
Summary: DataDetection creates links that are longer than the actual result
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Enrica Casucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-24 12:29 PDT by Enrica Casucci
Modified: 2016-03-24 16:09 PDT (History)
1 user (show)

See Also:


Attachments
Patch3 (1.84 KB, patch)
2016-03-24 12:41 PDT, Enrica Casucci
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrica Casucci 2016-03-24 12:29:50 PDT
If a data detection result is over two lines and is followed by some text that is not part of the result, we incorrectly include the text until the end of the line as part of the resulting link.

rdar://problem/25280740
Comment 1 Enrica Casucci 2016-03-24 12:41:01 PDT
Created attachment 274851 [details]
Patch3
Comment 2 Enrica Casucci 2016-03-24 16:09:29 PDT
Committed revision 198650.