jose-elias-alvarez / obsidian-paste-link

Intelligently paste Markdown links in Obsidian.
MIT License
6 stars 0 forks source link

Decode URIs #2

Closed NomarCub closed 8 months ago

NomarCub commented 8 months ago

See the rationale here: https://github.com/mii-key/obsidian-links/issues/12 And a ready implementation here: https://github.com/denolehov/obsidian-url-into-selection/pull/27

jose-elias-alvarez commented 8 months ago

Thanks for flagging this. This plugin doesn't use URL encoding, so I think the first case you mentioned is already handled correctly (i.e. it leaves the text as-is).

For the second case, I borrowed the fix and applied it in dcce334.

Feel free to open a separate issue if I misinterpreted something or there's still gaps in behavior.