fixing linebreak position

This commit is contained in:
vv01f 2014-07-21 22:50:03 +02:00
parent 9940a423c4
commit 4b2f8832c5
2 changed files with 3 additions and 5 deletions

View File

@ -2076,9 +2076,7 @@
</event>
<event title="Grillen der Freifunker im Chaostreff Chemnitz">
<start>2014-07-24T19:00:00</start>
<location>ChaostreffChemnitz, Augustusburger Straße 102, 09126 Chemnitz
<!-- Augustusburger Straße 102 http://www.openstreetmap.org/node/1240532187 -->
</location>
<location>ChaostreffChemnitz, Augustusburger Straße 102, 09126 Chemnitz </location><!-- Augustusburger Straße 102 http://www.openstreetmap.org/node/1240532187 -->
<link>https://plus.google.com/events/cd3v5c4oeocaiea2k4mn1c8fpao</link>
</event>
<event title="seL4 release">

View File

@ -135,7 +135,7 @@
<!-- a/@title -->
<xsl:attribute name="title">
<xsl:if test="string-length(location) &gt; 0">
<xsl:value-of select="concat('Ort: ', location)"/>
<xsl:value-of select="concat('Ort: ', location,'&#xA;')"/>
</xsl:if>
<!-- sometimes things dont have a place to happen
<xsl:if test="string-length(location) = 0">
@ -144,7 +144,7 @@
-->
<xsl:if test="string-length(date:time(start)) &gt; 0 or string-length(date:time(end)) &gt; 0">
<xsl:if test="date:day-in-month($date) = date:day-in-month(start) or date:day-in-month($date) = date:day-in-month(end)">
<xsl:value-of select="concat('&#xA;', 'Zeit:')" disable-output-escaping="yes"/>
<xsl:value-of select="concat('', 'Zeit:')" disable-output-escaping="yes"/>
<xsl:if test="date:day-in-month($date) = date:day-in-month(start) and string-length(date:time(start)) &gt; 0 and substring(date:time(start),1,5) != ''">
<xsl:value-of select="concat(' ab ', substring(date:time(start),1,5))"/>
</xsl:if>