# HG changeset patch # User Igor Sysoev # Date 1314334068 0 # Node ID 1fc034261cf491ecaa0267380b4c950caf3050ed # Parent eb3fcac8a407e15c1921201a7c3c85f2b321c4f4 Refactoring r16: "initial" should be property of text but not of paragraph. diff --git a/xml/en/docs/welcome_nginx_facebook.xml b/xml/en/docs/welcome_nginx_facebook.xml --- a/xml/en/docs/welcome_nginx_facebook.xml +++ b/xml/en/docs/welcome_nginx_facebook.xml @@ -8,7 +8,8 @@
- + +Q: I am trying to open Facebook, Yahoo!, Google, or some other well known web site and instead I am getting a blank web page with a message referring to nginx: “Welcome to nginx!” or @@ -26,7 +27,8 @@ to Facebook (Yahoo!, Google, etc.) ?   - + +A: nginx is among the 3 most popular web servers in the world. It is a free open source software which is absolutely legitimate and has nothing to do with any kind of threatening or malicious activity per se. diff --git a/xsls/content.xsls b/xsls/content.xsls --- a/xsls/content.xsls +++ b/xsls/content.xsls @@ -18,12 +18,9 @@ X:template = "item/para" {

!!;

} -X:template = "para[@initial]" { -

- !{@initial} X:text{ } - !!; -

-} +X:template = "para[child::initial]" {

!!;

} + +X:template = "initial" { !!; } X:template = "programlisting" {
 !!; 
} diff --git a/xsls/style.xsls b/xsls/style.xsls --- a/xsls/style.xsls +++ b/xsls/style.xsls @@ -8,7 +8,8 @@ X:template style (lang) { p { text-align: justify; } p { text-indent: 20pt; } p.noindent { text-indent: 0pt; } - span.initial { font-size: 200%; float: left; padding-right: 5pt;} + span.initial { font-size: 200%; + float: left; padding-right: 10pt;} li { text-align: justify; } td.list { background: #EEEEEE; } blockquote.note { text-align: justify; }