zola/components/rendering
Michael Macias b1ceb3e80e rendering: Avoid prepending URL prefix to links that start with a scheme (#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
2020-02-02 17:44:38 -08:00
..
benches rustfmt 2018-10-31 08:18:57 +01:00
src rendering: Avoid prepending URL prefix to links that start with a scheme (#817) 2020-02-02 17:44:38 -08:00
tests rendering: Avoid prepending URL prefix to links that start with a scheme (#817) 2020-02-02 17:44:38 -08:00
Cargo.toml Bump pulldown_cmark to version 0.6.0 (#797) 2019-09-06 23:36:30 +02:00