rss_converter_twitter.com.xsl: preserve spaces in tweet content
[tweeper.git] / src / rss_converter_twitter.com.xsl
index b6b4257..44a0416 100644 (file)
                     <xsl:text>(Video)</xsl:text>
                     <xsl:element name="br"/>
                 </xsl:if>
-                <xsl:apply-templates select="$item-content/node()"/>
+                <xsl:element name="span">
+                    <xsl:attribute name="style">white-space: pre-wrap;</xsl:attribute>
+                    <xsl:apply-templates select="$item-content/node()"/>
+                </xsl:element>
                 <xsl:apply-templates select="$item-media/node()"/>
                 <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
             </description>