diff xml/ru/docs/http/ngx_http_sub_module.xml @ 271:4c6d2c614d2c

Cleaned up XML tag mess: - all of <parameter> and <code>, and some of <dirname>, <value>, and <command> were replaced by <literal>; - the rest of <dirname> were replaced by links; - <argument> were replaced by <value>; - <value> is now rendered in HTML in italic; - <literal> and <path> can now contain <value>. Cleaned up terminology mess: - directives take "parameters".
author Ruslan Ermilov <ru@nginx.com>
date Fri, 23 Dec 2011 17:29:59 +0000
parents bfe3eff81d04
children a076f7661569
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_sub_module.xml
+++ b/xml/ru/docs/http/ngx_http_sub_module.xml
@@ -12,7 +12,7 @@
 Модуль ngx_http_sub_module — это фильтр,
 изменяющий в ответе одну заданную строку на другую.
 По умолчанию модуль не собирается, нужно разрешить его сборку
-при конфигурировании параметром <command>--with-http_sub_module</command>.
+при конфигурировании параметром <literal>--with-http_sub_module</literal>.
 </para>
 
 </section>
@@ -36,7 +36,7 @@ location / {
 <section name="Директивы" id="directives">
 
 <directive name="sub_filter">
-<syntax><value>строка замена</value></syntax>
+<syntax><value>строка</value> <value>замена</value></syntax>
 <default/>
 <context>http, server, location</context>
 
@@ -50,7 +50,7 @@ location / {
 
 
 <directive name="sub_filter_once">
-<syntax><value>on|off</value></syntax>
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
 <default>on</default>
 <context>http, server, location</context>
 
@@ -63,7 +63,7 @@ location / {
 
 
 <directive name="sub_filter_types">
-<syntax><value>mime-тип [mime-тип ...]</value></syntax>
+<syntax><value>mime-тип</value> ...</syntax>
 <default>text/html</default>
 <context>http, server, location</context>