Bug 155860 - Data Detection creates multiple links even when the detected content is within the same node
Summary: Data Detection creates multiple links even when the detected content is withi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit 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 17:04 PDT by Enrica Casucci
Modified: 2016-03-25 12:33 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.53 KB, patch)
2016-03-24 17:08 PDT, Enrica Casucci
thorton: 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 17:04:46 PDT
If the detected content is all within the same text node, there is no need to create multiple links if the content continues over the following line.

rdar://problem/25319579
Comment 1 Enrica Casucci 2016-03-24 17:08:47 PDT
Created attachment 274867 [details]
Patch
Comment 2 Tim Horton 2016-03-25 12:19:48 PDT
Needs a test :)
Comment 3 Enrica Casucci 2016-03-25 12:33:17 PDT
Committed revision 198684.