xsl/gemini.xsl: treat link lists appropriately
c3d2-web deployed Details
c3d2-gemini deployed Details

This commit is contained in:
Astro 2022-03-05 04:26:02 +01:00
parent 5186149c71
commit f74622ed6f
1 changed files with 12 additions and 0 deletions

View File

@ -296,6 +296,18 @@
<text>&#10;</text>
</template>
<template match="li[string(.) = string(link)]">
<text>=> </text>
<call-template name="make-href">
<with-param name="href" select="link/@href"/>
</call-template>
<text> </text>
<call-template name="normalize-paragraph">
<with-param name="text" select="normalize-space(link)"/>
</call-template>
<text>&#10;</text>
</template>
<template match="li">
<text>* </text>
<call-template name="normalize-paragraph">