Bug 104391

Summary: [BlackBerry] Strip whitespace from learned text
Product: WebKit Reporter: Nima Ghanavatian <nima.ghanavatian>
Component: WebKit BlackBerryAssignee: Nima Ghanavatian <nima.ghanavatian>
Status: RESOLVED FIXED    
Severity: Normal CC: mifenton, rwlbuis, tonikitoo, webkit.review.bot, yong.li.webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Nima Ghanavatian
Reported 2012-12-07 12:40:22 PST
Instead of using remove(), we should be use stripWhiteSpace here, to not only correctly remove whitespace at the start of text but also at the end.
Attachments
Patch (1.71 KB, patch)
2012-12-07 12:42 PST, Nima Ghanavatian
no flags
Nima Ghanavatian
Comment 1 2012-12-07 12:42:04 PST
Rob Buis
Comment 2 2012-12-07 12:44:09 PST
Comment on attachment 178258 [details] Patch LGTM.
WebKit Review Bot
Comment 3 2012-12-07 14:05:21 PST
Comment on attachment 178258 [details] Patch Clearing flags on attachment: 178258 Committed r136981: <http://trac.webkit.org/changeset/136981>
WebKit Review Bot
Comment 4 2012-12-07 14:05:25 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.