mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
465831175a
Summary: Autolinker is a great open source project but it attempts to parse HTML with regexp, is quite slow, and hangs on specific emails https://github.com/nylas/N1/issues/1540 This is super bad, and also super unnecessary. I think this should do the trick. Note: I changed the urlRegex in our Utils to be much more liberal. It now matches anything that looks like a URL, not just things with the http:// and https:// prefixes. It's used in the LinkEditor and onboarding screen (detecting auth errors with urls) and I think it should be ok? Test Plan: Need to write some tests Reviewers: evan, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D2725 |
||
---|---|---|
.. | ||
plugins | ||
autolinker.es6 | ||
email-frame-styles-store.coffee | ||
email-frame.jsx | ||
find-in-thread.jsx | ||
main.cjsx | ||
message-controls.cjsx | ||
message-item-body.cjsx | ||
message-item-container.cjsx | ||
message-item.cjsx | ||
message-list-hidden-messages-toggle.jsx | ||
message-list.cjsx | ||
message-participants.cjsx | ||
message-timestamp.cjsx | ||
message-toolbar-items.cjsx | ||
sidebar-participant-picker.jsx | ||
sidebar-plugin-container.cjsx | ||
thread-archive-button.cjsx | ||
thread-star-button.cjsx | ||
thread-toggle-unread-button.cjsx | ||
thread-trash-button.cjsx |