comparison xml/en/docs/http/ngx_http_ssi_module.xml @ 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 9264fdb6c833
children 0b3103eabdf1
comparison
equal deleted inserted replaced
1874:33f742032155 1875:4687cbd3c933
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_ssi_module" 10 <module name="Module ngx_http_ssi_module"
11 link="/en/docs/http/ngx_http_ssi_module.html" 11 link="/en/docs/http/ngx_http_ssi_module.html"
12 lang="en" 12 lang="en"
13 rev="7"> 13 rev="8">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_ssi_module</literal> module is a filter 18 The <literal>ngx_http_ssi_module</literal> module is a filter
229 229
230 <tag-name><literal>default</literal></tag-name> 230 <tag-name><literal>default</literal></tag-name>
231 <tag-desc> 231 <tag-desc>
232 a non-standard parameter that sets a string to be output 232 a non-standard parameter that sets a string to be output
233 if a variable is undefined. 233 if a variable is undefined.
234 By default, “<literal>none</literal>” is output. 234 By default, “<literal>(none)</literal>” is output.
235 The command 235 The command
236 <example> 236 <example>
237 &lt;!--# echo var="name" default="<emphasis>no</emphasis>" --&gt; 237 &lt;!--# echo var="name" default="<emphasis>no</emphasis>" --&gt;
238 </example> 238 </example>
239 replaces the following sequence of commands: 239 replaces the following sequence of commands: