`mailto:` link prefix renders in reading view

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  1. Paste mailto:[email protected] into Obsidian.
  2. Change to the reading view.

Did you follow the troubleshooting guide? Y

Expected result

Either don’t render mailto: as valid in live preview / source mode, or hide mailto: when in reading view. Probably the former because mailto: is automatically prepended to clicked plain email addresses anyway.

Don’t render as valid in live preview / source view:

(using 0 instead of o to make link prefix look invalid)
Obsidian_2023-11-28_17-32-54

Or…

Hide in reading view:

Obsidian_2023-11-28_17-30-41

Actual result

In live preview / source view:

Obsidian_2023-11-28_17-25-19

In reading view:

Obsidian_2023-11-28_17-28-35

Additional

It looks like mailto: is required when using [Email](mailto:[email protected]) format (else treated as internal link), and therefore it should render as a valid link in live preview / source view in that particular case, but not when as a plain email with the prefix.

Thanks.

1 Like

I was looking for an answer for myself but just figured out you need to hyperlink the entire thing:

[Send email](mailto:[email protected])

Send email

That’s ok, but this bug report is suggesting that if the plain mailto:foo link isn’t valid in Reading Mode, than it shouldn’t render as valid in Live Preview. (Or vice versa, make them both valid.)