comparison xsls/content.xsls @ 92:4b0182b7b1e5

Fixed HTML for <list> inside <para>.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 14 Oct 2011 10:59:13 +0000
parents e4e9f7bc885f
children b2e9c172a156
comparison
equal deleted inserted replaced
91:36f1994d7fa1 92:4b0182b7b1e5
51 <blockquote class="note"> !!; </blockquote> 51 <blockquote class="note"> !!; </blockquote>
52 X:text disable-output-escaping="yes" {&lt;p&gt; } 52 X:text disable-output-escaping="yes" {&lt;p&gt; }
53 } 53 }
54 54
55 X:template = "list[@type='bullet']" { <ul> !!; </ul> } 55 X:template = "list[@type='bullet']" { <ul> !!; </ul> }
56 X:template = "para/list[@type='bullet']" {
57 X:text disable-output-escaping="yes" {&lt;/p&gt; }
58 <ul> !!; </ul>
59 X:text disable-output-escaping="yes" {&lt;p&gt; }
60 }
61
56 X:template = "list[@type='enum']" { <ol> !!; </ol> } 62 X:template = "list[@type='enum']" { <ol> !!; </ol> }
63 X:template = "para/list[@type='enum']" {
64 X:text disable-output-escaping="yes" {&lt;/p&gt; }
65 <ol> !!; </ol>
66 X:text disable-output-escaping="yes" {&lt;p&gt; }
67 }
68
57 X:template = "listitem" { <li> !!; </li> } 69 X:template = "listitem" { <li> !!; </li> }
58 70
59 X:template = "list[@type='tag']" { <dl compact=""> !!; </dl> } 71 X:template = "list[@type='tag']" { <dl compact=""> !!; </dl> }
72 X:template = "para/list[@type='tag']" {
73 X:text disable-output-escaping="yes" {&lt;/p&gt; }
74 <dl compact=""> !!; </dl>
75 X:text disable-output-escaping="yes" {&lt;p&gt; }
76 }
77
60 X:template = "tag-name" { <dt> !!; </dt> } 78 X:template = "tag-name" { <dt> !!; </dt> }
61 X:template = "tag-desc" { <dd> !!; </dd> } 79 X:template = "tag-desc" { <dd> !!; </dd> }
62 80
63 <!-- legacy list templates --> 81 <!-- legacy list templates -->
64 82