From: Antonio Ospite <ao2@ao2.it>
Date: Fri, 16 Mar 2018 11:49:41 +0000 (+0100)
Subject: rss_converter_twitter.com.xsl: show again the user name in the description
X-Git-Tag: v1.3.0~11
X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/25866a7fed07f0353cb5f50cc2b2ccc6ef043241

rss_converter_twitter.com.xsl: show again the user name in the description

Having the user name also in the description makes it easier to see who
the author is in case of re-tweeted messages.

Leave the line-break after the username to have the actual message start
at the beginning of the line, this is done to preserve the formatting of
the original message as much as possible.
---

diff --git a/src/rss_converter_twitter.com.xsl b/src/rss_converter_twitter.com.xsl
index 7daa505..332c236 100644
--- a/src/rss_converter_twitter.com.xsl
+++ b/src/rss_converter_twitter.com.xsl
@@ -149,8 +149,10 @@
             </pubDate>
             <description>
                 <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
+                <xsl:value-of select="concat($user-name, ':')"/>
+                <xsl:element name="br"/>
                 <xsl:if test="$item-has-video">
-                    <xsl:text>(Video)</xsl:text>
+                    <xsl:text> (Video)</xsl:text>
                     <xsl:element name="br"/>
                 </xsl:if>
                 <xsl:element name="span">