-
Notifications
You must be signed in to change notification settings - Fork 48
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
Use linkifyjs for better url extraction lgic #569
Conversation
I also could replace all calls of linkify() and nl2br() to by element , but decided to do as less changes as possible. If it's needed, please ask me and I'll do that |
Thank you for your PR @Tucchhaa ! I have deployed your change to staging sites ( https://dev.cofacts.tw/ ) and it will be tested during the dev meeting tonight. Regarding "replace all calls of linkify() and nl2br() to by element" would you explain more on what you want to achieve? |
It wouldn't be any functional change, just a small refactoring. I've notived that nl2br() and linkify() are called together almost always, and we could replace them just by tag. |
Thanks for analyzing the code and make the proposal. Personally I think Let me merge this PR and ship to production 🚀 |
#548