-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error when runnig test in Textmate #32
Comments
I don't understand what Textmate has to do with tests failing ... :( Can you explain a bit more about what you're seeing? Can you help me reproduce it? |
I'm not talking about failing tests.. To reproduce it: |
I run Linux, and don't have access to a Mac. Can you help me reproduce this issue some other way? Is this error coming from TM, or from the version of Ruby that TM execs when running tests? |
I found the issue, I've made a pull request with the fix. The issue was because Textmate use -KU option to run tests, so it consider 'scrub.rb' as ut8 encoded file which is not the case at line 9. |
Thanks. I've merged the request, and will release an update of Loofah this weekend. |
Thanks ! |
Pushed 1.2.1 to rubygems.org. Thanks for using Loofah! |
loofah-1.2.0/lib/loofah/html5/scrub.rb:10: too short escaped multibyte character: /`|[\000-\040\177\s]+|\302[\200-\240]/
When I remove the failing line 10, It works!
The text was updated successfully, but these errors were encountered: