diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2015-11-29 08:29:46 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-01 08:03:16 -0500 |
| commit | bf76cf07e0e0713020974f47dacfaddcedbe1abf (patch) | |
| tree | 25d3659624b41be8315d418c577a7b529b4d8ae6 /docs/ref/templates | |
| parent | b4074102328180dd53ecc5a03b0afa1322024036 (diff) | |
[1.9.x] Fixed #25778 -- Updated docs links to use https when available.
Backport of 7aabd6238028f4bb78d0687bbccc97bcf634e28b from master
Diffstat (limited to 'docs/ref/templates')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index c468674206..2f3d0d57b4 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1293,7 +1293,7 @@ date Formats a date according to the given format. -Uses a similar format as PHP's ``date()`` function (http://php.net/date) +Uses a similar format as PHP's ``date()`` function (https://php.net/date) with some differences. .. note:: @@ -2094,7 +2094,7 @@ output will be ``"Joel is a slug"``. more robust, you can use the ``bleach`` Python library, notably its `clean`_ method. -.. _clean: http://bleach.readthedocs.org/en/latest/clean.html +.. _clean: https://bleach.readthedocs.org/en/latest/clean.html .. templatefilter:: time @@ -2324,8 +2324,8 @@ For example:: {{ value|urlencode }} -If ``value`` is ``"http://www.example.org/foo?a=b&c=d"``, the output will be -``"http%3A//www.example.org/foo%3Fa%3Db%26c%3Dd"``. +If ``value`` is ``"https://www.example.org/foo?a=b&c=d"``, the output will be +``"https%3A//www.example.org/foo%3Fa%3Db%26c%3Dd"``. An optional argument containing the characters which should not be escaped can be provided. @@ -2335,8 +2335,8 @@ provided when *all* characters should be escaped. For example:: {{ value|urlencode:"" }} -If ``value`` is ``"http://www.example.org/"``, the output will be -``"http%3A%2F%2Fwww.example.org%2F"``. +If ``value`` is ``"https://www.example.org/"``, the output will be +``"https%3A%2F%2Fwww.example.org%2F"``. .. templatefilter:: urlize @@ -2346,7 +2346,7 @@ urlize Converts URLs and email addresses in text into clickable links. This template tag works on links prefixed with ``http://``, ``https://``, or -``www.``. For example, ``http://goo.gl/aia1t`` will get converted but +``www.``. For example, ``https://goo.gl/aia1t`` will get converted but ``goo.gl/aia1t`` won't. It also supports domain-only links ending in one of the original top level |
