mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-25 17:10:29 +00:00
Force raw on content
We don't want Symfony to escape html content
This commit is contained in:
parent
14d7a69b8c
commit
7d74a2f32b
1 changed files with 3 additions and 3 deletions
|
@ -17,13 +17,13 @@
|
||||||
<pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
|
<pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
|
||||||
<description>
|
<description>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
{%- if entry.content| readingTime > 0 -%}
|
{%- if entry.content|readingTime > 0 -%}
|
||||||
{% trans %}estimated reading time :{% endtrans %} {{ entry.content| readingTime }} min
|
{% trans %}estimated reading time :{% endtrans %} {{ entry.content|readingTime }} min
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{% trans %}estimated reading time :{% endtrans %} < 1 min
|
{% trans %}estimated reading time :{% endtrans %} < 1 min
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{{ entry.content -}}
|
{{ entry.content|raw -}}
|
||||||
]]>
|
]]>
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in a new issue