# 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 -r eb3fcac8a407 -r 1fc034261cf4 xml/en/docs/welcome_nginx_facebook.xml --- a/xml/en/docs/welcome_nginx_facebook.xml Thu Aug 25 19:39:02 2011 +0000 +++ b/xml/en/docs/welcome_nginx_facebook.xml Fri Aug 26 04:47:48 2011 +0000 @@ -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 @@   - + +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 -r eb3fcac8a407 -r 1fc034261cf4 xsls/content.xsls --- a/xsls/content.xsls Thu Aug 25 19:39:02 2011 +0000 +++ b/xsls/content.xsls Fri Aug 26 04:47:48 2011 +0000 @@ -18,12 +18,9 @@ X:template = "para[@align]" {

!!;

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

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

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

!!;

} + +X:template = "initial" { !!; } X:template = "programlisting" {
 !!; 
} diff -r eb3fcac8a407 -r 1fc034261cf4 xsls/style.xsls --- a/xsls/style.xsls Thu Aug 25 19:39:02 2011 +0000 +++ b/xsls/style.xsls Fri Aug 26 04:47:48 2011 +0000 @@ -8,7 +8,8 @@ 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; }