You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I let the editor convert my signature (I think similar situation is for the whole message) from HTML to plain version, it doesn't remove tel: links, so it produces something like: "Phone: +420 777 123 456 tel:+420 777123456", which is ugly and I need to manually remove the tel:+420 777123456 part. It works well for e-mail (e.g. mailto:foo@example.com) links, so I hope it won't be such a problem to fix it for phone links, too.
To Reproduce (simpler way to describe point-by-point but doesn't work in New email modal, too)
Steps to reproduce the behavior:
Login to some account (in public interface, not admin one)
Go to Settings --> Edit identity --> Signature
Set HTML mode
Fill in Phone: <a href="tel:+420777123456">+420 777 123 456</a>
Set plain mode
See "Phone: +420 777 123 456 tel:+420 777123456" instead of just "Phone: +420 777 123 456"
Expected behavior
Remove tel: links before converting to plain text version, so "tel:+XXXXXXXXXXXX" won't be added.
Please complete the following information:
Browser: Version 1.68.134 Chromium: 127.0.6533.88 (Official Build) (64-bit)
IMAP daemon: dovecot (Mailcow)
PHP version: 8.2.22
SnappyMail Version: 2.37.2 (waiting for Watchtower to update it for testing purposes, shouldn't be fixed in the current release)
Mode: Docker Compose
The text was updated successfully, but these errors were encountered:
The best results would be done by determining when there is a phone number in <a>'s content (e.g. "+420 777 123 456" vs "Call me"). But it's hard to check, so maybe the "minimal change" would be good enough.
Describe the bug
When I let the editor convert my signature (I think similar situation is for the whole message) from HTML to plain version, it doesn't remove tel: links, so it produces something like: "Phone: +420 777 123 456 tel:+420 777123456", which is ugly and I need to manually remove the
tel:+420 777123456
part. It works well for e-mail (e.g.mailto:foo@example.com
) links, so I hope it won't be such a problem to fix it for phone links, too.To Reproduce (simpler way to describe point-by-point but doesn't work in New email modal, too)
Steps to reproduce the behavior:
Phone: <a href="tel:+420777123456">+420 777 123 456</a>
Expected behavior
Remove
tel:
links before converting to plain text version, so "tel:+XXXXXXXXXXXX" won't be added.Please complete the following information:
The text was updated successfully, but these errors were encountered: