[x]
):The phone number will lost last number in issues,such as I want 12475554522
but actually shows is 1247555452
This is edit number:
This is sure number after save.
The last number lost.
This is because Gitea (and Github) look for a string of numbers (and/optional letters a-f) that are 7-40 char in length and see it as a SHA has value and link it using a truncated version of the value. You pretty much can't use any text that would also be part of a valid SHA, unfortunately.
Github is less error prone for a case like this because it actually does a lookup to see if the SHA exists (Gitea just matches the pattern and creates a link to avoid the lookup).
There is a temporary solution add the ` on both sides of the number then it will not as a SHA value.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Most helpful comment
This is because Gitea (and Github) look for a string of numbers (and/optional letters a-f) that are 7-40 char in length and see it as a SHA has value and link it using a truncated version of the value. You pretty much can't use any text that would also be part of a valid SHA, unfortunately.
Github is less error prone for a case like this because it actually does a lookup to see if the SHA exists (Gitea just matches the pattern and creates a link to avoid the lookup).