rss_converter_twitter.com.xsl: add a line break after the "(Video)" label
authorAntonio Ospite <ao2@ao2.it>
Fri, 23 Feb 2018 13:55:10 +0000 (14:55 +0100)
committerAntonio Ospite <ao2@ao2.it>
Fri, 23 Feb 2018 13:55:10 +0000 (14:55 +0100)
This is to start the actual original tweet content on a new line, this
is important for example if the content contains some ASCII art.

src/rss_converter_twitter.com.xsl

index 873be5f..1280c6a 100644 (file)
             <description>
                 <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
                 <xsl:if test="$item-has-video">
             <description>
                 <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
                 <xsl:if test="$item-has-video">
-                    <xsl:text>(Video) </xsl:text>
+                    <xsl:text>(Video)</xsl:text>
+                    <xsl:element name="br"/>
                 </xsl:if>
                 <xsl:apply-templates select="$item-content/node()"/>
                 <xsl:apply-templates select="$item-media/node()"/>
                 </xsl:if>
                 <xsl:apply-templates select="$item-content/node()"/>
                 <xsl:apply-templates select="$item-media/node()"/>