diff options
Diffstat (limited to 'templates/du2html.xsl')
-rw-r--r-- | templates/du2html.xsl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/du2html.xsl b/templates/du2html.xsl index fe11d0a..38c2e8c 100644 --- a/templates/du2html.xsl +++ b/templates/du2html.xsl @@ -145,6 +145,14 @@ <x:value-of select="$const-tr[@t=$n and @l=$language]"/> </x:template> + <x:template match="list_item/paragraph"> + <p><x:apply-templates/></p> + </x:template> + + <x:template match="list_item[count(paragraph)=1]/paragraph"> + <x:apply-templates/> + </x:template> + <!-- i feed al momento mandano in segfault libxslt <x:template match="field[field_name='feed']"> <x:variable name="url" select="normalize-space(string(field_body))"/> |