Browse Source

add missed message filters

main
ghost 12 months ago
parent
commit
df9e860314
  1. 4
      templates/default/room/index.rss.twig

4
templates/default/room/index.rss.twig

@ -8,10 +8,10 @@
<item> <item>
<title>#{{ post.id }}</title> <title>#{{ post.id }}</title>
<author>@{{ post.user }}</author> <author>@{{ post.user }}</author>
<pubDate>{{ post.timestamp | date('D, d M Y h:i:s O') }}</pubDate> <pubDate>{{ post.time | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('room_namespace', { namespace : request.get('namespace') }) }}#{{ post.id }}</guid> <guid>{{ url('room_namespace', { namespace : request.get('namespace') }) }}#{{ post.id }}</guid>
<link>{{ url('room_namespace', { namespace : request.get('namespace') }) }}#{{ post.id }}</link> <link>{{ url('room_namespace', { namespace : request.get('namespace') }) }}#{{ post.id }}</link>
<description>{{ post.message }}</description> <description>{{ post.message | striptags | markdown_to_html | striptags | trim }}</description>
</item> </item>
{% endfor %} {% endfor %}
</channel> </channel>

Loading…
Cancel
Save