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
+++ b/xml/en/docs/http/ngx_http_ssi_module.xml
@@ -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 @@ By default, <literal>entity</literal> is
 <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>
 &lt;!--# echo var="name" default="<emphasis>no</emphasis>" --&gt;
--- a/xml/ru/docs/http/ngx_http_ssi_module.xml
+++ b/xml/ru/docs/http/ngx_http_ssi_module.xml
@@ -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 @@ location / {
 нестандартный параметр, задающий строку, которая выводится,
 если переменная не определена.
 По умолчанию выводится строка
-“<literal>none</literal>”.
+“<literal>(none)</literal>”.
 Команда
 <example>
 &lt;!--# echo var="name" default="<emphasis>нет</emphasis>" --&gt;