diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-25 01:15:04 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-25 01:18:49 +0300 |
commit | 50d2a17ec6b454404b086c0b000f6c94e5eac88f (patch) | |
tree | 5c61217d92e0c429187b7cc3e78c16e466d784c7 /_includes/image.html | |
parent | 023d6ce03d89b37b5bdbf628f66b0c72e348c23a (diff) | |
download | popov.link-50d2a17ec6b454404b086c0b000f6c94e5eac88f.tar.xz popov.link-50d2a17ec6b454404b086c0b000f6c94e5eac88f.zip |
Minor changes
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes/image.html')
-rw-r--r-- | _includes/image.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/image.html b/_includes/image.html index d6be65c..f5684d1 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -1,6 +1,6 @@ -{% assign alternative = include.alt | strip_newlines | strip_html | strip | normalize_whitespace | smartify | downcase | capitalize %} +{% assign alternative = include.alt | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %} {% assign identifier = include.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify %} -{% assign source = include.src | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape %} +{% assign source = include.src | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape %} <a href="#{{ identifier }}"> <img alt="{{ alternative }}" src="{{ source }}" /> |