diff xsls/content.xsls @ 71:c007b57d617c

The first line indentation in a paragraph which is used in Russian typographics isn't common for other languages. In HTML, even with Russian contents, paragraphs are usually separated with a vertical interval without the first line indentation. We will be following this convention as well.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 10 Oct 2011 08:23:43 +0000
parents 12f1de4539b4
children e4e9f7bc885f
line wrap: on
line diff
--- a/xsls/content.xsls
+++ b/xsls/content.xsls
@@ -30,12 +30,8 @@ X:stylesheet {
 
     X:template = "para" { <p> !!; </p> }
 
-    X:template = "item/para" { <p class="noindent"> !!; </p> }
-
     X:template = "para[@align]" { <p align="{@align}"> !!; </p> }
 
-    X:template = "para[child::initial]" { <p class="noindent"> !!; </p> }
-
     X:template = "initial" { <span class="initial"><b> !!; </b></span> }
 
 
@@ -44,7 +40,7 @@ X:stylesheet {
     X:template = "para/programlisting" {
 	X:text disable-output-escaping="yes" {&lt;/p&gt; }
 	<blockquote><pre> !!; </pre></blockquote>
-	X:text disable-output-escaping="yes" {&lt;p class="noindent"&gt; }
+	X:text disable-output-escaping="yes" {&lt;p&gt; }
     }
 
 
@@ -53,7 +49,7 @@ X:stylesheet {
     X:template = "para/note" {
 	X:text disable-output-escaping="yes" {&lt;/p&gt; }
 	<blockquote class="note"> !!; </blockquote>
-	X:text disable-output-escaping="yes" {&lt;p class="noindent"&gt; }
+	X:text disable-output-escaping="yes" {&lt;p&gt; }
     }
 
     X:template = "list[@type='bullet']" { <ul> !!; </ul> }