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()"/>
|
<variable name="itemposition" select="position()"/>
|
||||||
|
|
||||||
<for-each select="$news/item">
|
<for-each select="$news/item">
|
||||||
<text>## </text>
|
<text> ## </text>
|
||||||
<value-of select="@title"/>
|
<value-of select="@title"/>
|
||||||
<text> </text>
|
<text> </text>
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
'-'
|
'-'
|
||||||
)">
|
)">
|
||||||
|
|
||||||
<text>## </text>
|
<text> ## </text>
|
||||||
<value-of select="@title"/>
|
<value-of select="@title"/>
|
||||||
<text> </text>
|
<text> </text>
|
||||||
|
|
||||||
|
@ -168,12 +168,12 @@
|
||||||
<!-- portal -->
|
<!-- portal -->
|
||||||
|
|
||||||
<template match="/page/portal">
|
<template match="/page/portal">
|
||||||
<text>## Kalender </text>
|
<text> ## Kalender </text>
|
||||||
<call-template name="calendar-events">
|
<call-template name="calendar-events">
|
||||||
<with-param name="limit" select="10"/>
|
<with-param name="limit" select="10"/>
|
||||||
</call-template>
|
</call-template>
|
||||||
|
|
||||||
<text>## Changelog </text>
|
<text> ## Changelog </text>
|
||||||
<apply-templates/>
|
<apply-templates/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -296,6 +296,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template match="p">
|
<template match="p">
|
||||||
|
<text> </text>
|
||||||
<if test="@title">
|
<if test="@title">
|
||||||
<text>## </text>
|
<text>## </text>
|
||||||
<value-of select="@title"/>
|
<value-of select="@title"/>
|
||||||
|
@ -312,9 +313,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template match="blockquote">
|
<template match="blockquote">
|
||||||
<text>``` </text>
|
<text> ``` </text>
|
||||||
<apply-templates/>
|
<apply-templates/>
|
||||||
<text>``` </text>
|
<text> ``` </text>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template name="normalize-paragraph">
|
<template name="normalize-paragraph">
|
||||||
|
@ -336,7 +337,9 @@
|
||||||
<template name="link-list">
|
<template name="link-list">
|
||||||
<for-each select=".//link">
|
<for-each select=".//link">
|
||||||
<text>=> </text>
|
<text>=> </text>
|
||||||
<value-of select="@href"/>
|
<call-template name="make-href">
|
||||||
|
<with-param name="href" select="@href"/>
|
||||||
|
</call-template>
|
||||||
<text> </text>
|
<text> </text>
|
||||||
<choose>
|
<choose>
|
||||||
<when test="image/@title">
|
<when test="image/@title">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user