Mercurial > hg > nginx-site
changeset 1875:4687cbd3c933
SSI: corrected how "echo var" outputs undefined variables.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 22 Dec 2016 23:30:05 +0300 |
parents | 33f742032155 |
children | b451f03e0a4b |
files | xml/en/docs/http/ngx_http_ssi_module.xml xml/ru/docs/http/ngx_http_ssi_module.xml |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssi_module.xml Tue Dec 20 18:44:33 2016 +0300 +++ b/xml/en/docs/http/ngx_http_ssi_module.xml Thu Dec 22 23:30:05 2016 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_ssi_module" link="/en/docs/http/ngx_http_ssi_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -231,7 +231,7 @@ <tag-desc> a non-standard parameter that sets a string to be output if a variable is undefined. -By default, “<literal>none</literal>” is output. +By default, “<literal>(none)</literal>” is output. The command <example> <!--# echo var="name" default="<emphasis>no</emphasis>" -->
--- a/xml/ru/docs/http/ngx_http_ssi_module.xml Tue Dec 20 18:44:33 2016 +0300 +++ b/xml/ru/docs/http/ngx_http_ssi_module.xml Thu Dec 22 23:30:05 2016 +0300 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_ssi_module" link="/ru/docs/http/ngx_http_ssi_module.html" lang="ru" - rev="7"> + rev="8"> <section id="summary"> @@ -234,7 +234,7 @@ нестандартный параметр, задающий строку, которая выводится, если переменная не определена. По умолчанию выводится строка -“<literal>none</literal>”. +“<literal>(none)</literal>”. Команда <example> <!--# echo var="name" default="<emphasis>нет</emphasis>" -->