[Bug] pasting a URL after pressing the Link button results in double formatting

Platform

[X] iOS
[ ] Android

Obsidian Mobile version: v1.3.1


Steps to reproduce:

  1. Open Safari (Update: This happens anywhere in iOS when a link is copied via the Share Sheet).
  2. Visit a webpage.
  3. Tap the Share button, then choose Copy.
  4. Open a note in Obsidian.
  5. Type some text.
  6. Select it.
  7. Tap the “Link” icon in the toolbar.
  8. Paste the URL.

What was expected

[YAML](https://help.obsidian.md/Advanced+topics/YAML+front+matter)

What actually occurred

[YAML]([](https://help.obsidian.md/Advanced+topics/YAML+front+matter))

I’m not seeing this. I tried it on iPhone using finger and on iPad using Cmd V.

1 Like

That’s interesting. It only happens when you copy a link from Safari using the Copy function in the Share Sheet. I’ll update the issue.

Ah, OK, I see it when I do that. I normally long press the address bar/tab/thumbnail.

1 Like

I…didn’t know you could do that. I have been tapping into the field if I want to copy the URL that way. Thanks!

Not that that changes this bug, of course.