diff options
author | Jeremy <j0k3r@users.noreply.github.com> | 2015-04-01 16:11:19 +0200 |
---|---|---|
committer | Jeremy <j0k3r@users.noreply.github.com> | 2015-04-01 16:11:19 +0200 |
commit | 7d74a2f32b55fa9c33f5ecff57785e8d9e4de8ae (patch) | |
tree | 1466dcb1b465f9ead71c4dcbefe380853c5d846b /src | |
parent | 14d7a69b8c2981a769e35bb439e94892601f874e (diff) | |
download | wallabag-7d74a2f32b55fa9c33f5ecff57785e8d9e4de8ae.tar.gz wallabag-7d74a2f32b55fa9c33f5ecff57785e8d9e4de8ae.tar.zst wallabag-7d74a2f32b55fa9c33f5ecff57785e8d9e4de8ae.zip |
Force raw on content
We don't want Symfony to escape html content
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Entry/entries.xml.twig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.xml.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.xml.twig index f1039f5d..5ec9bc03 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.xml.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.xml.twig | |||
@@ -17,13 +17,13 @@ | |||
17 | <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate> | 17 | <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate> |
18 | <description> | 18 | <description> |
19 | <![CDATA[ | 19 | <![CDATA[ |
20 | {%- if entry.content| readingTime > 0 -%} | 20 | {%- if entry.content|readingTime > 0 -%} |
21 | {% trans %}estimated reading time :{% endtrans %} {{ entry.content| readingTime }} min | 21 | {% trans %}estimated reading time :{% endtrans %} {{ entry.content|readingTime }} min |
22 | {%- else -%} | 22 | {%- else -%} |
23 | {% trans %}estimated reading time :{% endtrans %} < 1 min | 23 | {% trans %}estimated reading time :{% endtrans %} < 1 min |
24 | {%- endif %} | 24 | {%- endif %} |
25 | 25 | ||
26 | {{ entry.content -}} | 26 | {{ entry.content|raw -}} |
27 | ]]> | 27 | ]]> |
28 | </description> | 28 | </description> |
29 | </item> | 29 | </item> |