-
-
Notifications
You must be signed in to change notification settings - Fork 904
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
Fix a regexp to guess HTML #932
Conversation
I don't like the I think the pattern should be more explicit as to what exactly fragments it's supposed to match, like @tenderlove Do you have any idea what the original intention of the current pattern was? |
I also think so. |
ping @tenderlove |
@ykzts Could you update the regexp with the one I put above and rebase to get ready for a merge? |
@knu done:heart: incidentally...
|
regexp optimize. |
@knu I think it was just a guess. If the tests still pass, please feel free to change! |
@ykzts Thanks. You can write @tenderlove Okay! Thanks for confirmation! |
@knu changed! check it out! 😋 |
Atom is not HTML! Guess to HTML when string a "html" is included in a attribute-value.