Escape tweet text

This commit is contained in:
Zed 2019-06-21 04:35:48 +02:00
parent 6f0452621e
commit cd4e873a45

View file

@ -97,7 +97,7 @@
${renderHeading(tweet)}
<div class="status-content-wrapper">
<div class="status-content media-body">
${linkifyText(tweet.text)}
${linkifyText(xmltree.escape(tweet.text))}
</div>
</div>
#if tweet.photos.len > 0:
@ -110,5 +110,4 @@
${renderStats(tweet)}
</div>
</div>
</div>
#end proc