theproductguy/CuteTime — Issue #7: Trim the text before any computation
Author: stanguturi
Created: 2012-01-08 00:44:14+00:00
State: open

I like this plugin. We use this in my web application: http://o.pckg.in/deals-crawler. But the plugin just doesn't work if the text contains any extra whitespace. In HTML it is always possible to have some extra text between the elements. You should modify the plugin to execute $.trim() before doing any regex matching.

-Thanks
Sankar.