omnivore-app / obsidian-omnivore

Obsidian plugin to fetch articles and highlights from Omnivore
MIT License
813 stars 46 forks source link

forward slash in link has been escaped to / #32

Closed Baoyx007 closed 1 year ago

Baoyx007 commented 1 year ago

examples:

[https://docker.nju.edu.cn/](https://link.zhihu.com/?target=https%3A//docker.nju.edu.cn/)
sywhb commented 1 year ago

Hey @Baoyx007, sorry for the delay in reply.

All variables in the template are HTML-escaped by default. If you want to render unescaped HTML, use the triple mustache: {{{name}}}. You can also use & to unescape a variable.

So for your example, you could use[{{{originalUrl}}}] in your template to unescape the URL when rendering