You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…eme (#817)
Links that start with a scheme (e.g., `tel:18008675309`) inadvertently
had a URL prefix prepended. Previously, only `mailto:` was handled, but
given the sheer number of [registered URI schemes][uri-schemes], a loose
pattern matcher is used to detect schemes instead.
External links, as identified by the renderer, are now limited to `http`
and `https` schemes.
Fixes#747 and fixes#816.
[uri-schemes]: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
…eme (#817)
Links that start with a scheme (e.g., `tel:18008675309`) inadvertently
had a URL prefix prepended. Previously, only `mailto:` was handled, but
given the sheer number of [registered URI schemes][uri-schemes], a loose
pattern matcher is used to detect schemes instead.
External links, as identified by the renderer, are now limited to `http`
and `https` schemes.
Fixes#747 and fixes#816.
[uri-schemes]: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
Bug Report
When Zola renders a Markdown file with
tel:
links e.g.It incorrectly prepends the absolute path to the directory containing the page containing the link.
So instead of e.g.
It generates
Environment
Zola version: zola 0.6.0
Expected Behavior
Zola should generate HTML links with the verbatim URL from markdown links with
tel:
prefixesCurrent Behavior
Zola generates HTML links with the path to directory containing the the page containing the link prefixing
tel:
urls.Step to reproduce
Create a markdown file in a Zola site containing a link to a
tel:
URL.The text was updated successfully, but these errors were encountered: