mirror of
https://github.com/fastmail/Squire.git
synced 2025-03-08 13:41:22 -05:00
Solves/improves the following: - Setting a custom linkRegExp messes with the logic for adding protocol or mailto. Use named capture groups in the regex, and add a case in the href generation that just uses the match directly if neither the url nor the email regex matches, which would mean that the user's custom regex matched instead. - Make https the default protocol instead of http - Use a more general regex for matching the protocol. Signed-off-by: Øyvind Rønningstad <ronningstad@gmail.com> |
||
---|---|---|
.. | ||
squire.spec.ts |