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:01:34 -0500 |
| commit | 7aabd6238028f4bb78d0687bbccc97bcf634e28b (patch) | |
| tree | 8bf67912d9154f1420574c9f22bc75d9fe2f2de0 /docs/ref/templates | |
| parent | 51a37213721e5689f17809990a9e7c38f1c8baf8 (diff) | |
Fixed #25778 -- Updated docs links to use https when available.
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 190e664e1e..0e762fa95e 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1227,7 +1227,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:: @@ -1987,7 +1987,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 @@ -2211,8 +2211,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. @@ -2222,8 +2222,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 @@ -2233,7 +2233,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 |
