element-x-android icon indicating copy to clipboard operation
element-x-android copied to clipboard

Improve phone number detection to avoid displaying every short number as a link

Open thorw4ld opened this issue 1 month ago • 0 comments

Your use case

What would you like to do?

Currently, every number with 2 or more digits is shown as a phone link, so i can call it by tapping on it. Not sure if this is fixable, 23 is probably never a phone number, but there are indeed very short phone numbers like 911.

Why would you like to do it?

it is a bit irritating, that most simple numbers are a link

How would you like to achieve it?

i would search for a regex that detects phone numbers

Have you considered any alternatives?

No response

Additional context

No response

Are you willing to provide a PR?

Yes

thorw4ld avatar Nov 20 '25 17:11 thorw4ld