Minor Autolink Bug: A false-positive for a mailto link

  • Lettera Version: 1.0.0 (3980)
  • macOS Version: 26.5.1 (25F80)
  • What were you doing:
  • What feature did you use: autolink
  • What happened: Part of the string was falsely recognized as email
  • What did you expect to happen: Not to have a mailto: link

Technically, this is not a serious or an important bug; but it is an annoyance, especially since this exact thing happens in the latest Bear.app 2.8.1 (14428) too.

I still call it a bug though, because my text is a reference to a file which happens to include an @ sign, and at least one dot…

It is prefixed with a folder name, and a forward slash, and there is no space; all text is a uninterrupted string. Without the /, or if there was white-space after the / the highlight string conforms with an email format, but neither is true. So I think the mailto: autolink is wrong in this case.

1 Like

Yes, Bear and Lettera share this code. Thanks for reporting, we will have a look at it.

1 Like