xsl/gemini.xsl: link and spacing precautions
This commit is contained in:
parent
26bd1bc556
commit
a99b6a27ca
|
@ -99,7 +99,7 @@
|
|||
<variable name="itemposition" select="position()"/>
|
||||
|
||||
<for-each select="$news/item">
|
||||
<text>## </text>
|
||||
<text> ## </text>
|
||||
<value-of select="@title"/>
|
||||
<text> </text>
|
||||
|
||||
|
@ -145,7 +145,7 @@
|
|||
'-'
|
||||
)">
|
||||
|
||||
<text>## </text>
|
||||
<text> ## </text>
|
||||
<value-of select="@title"/>
|
||||
<text> </text>
|
||||
|
||||
|
@ -168,12 +168,12 @@
|
|||
<!-- portal -->
|
||||
|
||||
<template match="/page/portal">
|
||||
<text>## Kalender </text>
|
||||
<text> ## Kalender </text>
|
||||
<call-template name="calendar-events">
|
||||
<with-param name="limit" select="10"/>
|
||||
</call-template>
|
||||
|
||||
<text>## Changelog </text>
|
||||
<text> ## Changelog </text>
|
||||
<apply-templates/>
|
||||
</template>
|
||||
|
||||
|
@ -296,6 +296,7 @@
|
|||
</template>
|
||||
|
||||
<template match="p">
|
||||
<text> </text>
|
||||
<if test="@title">
|
||||
<text>## </text>
|
||||
<value-of select="@title"/>
|
||||
|
@ -312,9 +313,9 @@
|
|||
</template>
|
||||
|
||||
<template match="blockquote">
|
||||
<text>``` </text>
|
||||
<text> ``` </text>
|
||||
<apply-templates/>
|
||||
<text>``` </text>
|
||||
<text> ``` </text>
|
||||
</template>
|
||||
|
||||
<template name="normalize-paragraph">
|
||||
|
@ -336,7 +337,9 @@
|
|||
<template name="link-list">
|
||||
<for-each select=".//link">
|
||||
<text>=> </text>
|
||||
<value-of select="@href"/>
|
||||
<call-template name="make-href">
|
||||
<with-param name="href" select="@href"/>
|
||||
</call-template>
|
||||
<text> </text>
|
||||
<choose>
|
||||
<when test="image/@title">
|
||||
|
|
Loading…
Reference in New Issue