]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix feeds not syncing on android app 2301/head
authorThomas Citharel <tcit@tcit.fr>
Wed, 21 Sep 2016 17:51:19 +0000 (19:51 +0200)
committerThomas Citharel <tcit@tcit.fr>
Wed, 21 Sep 2016 17:51:19 +0000 (19:51 +0200)
src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.xml.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.xml.twig

index 6cabcf4495625c9cb21e5cd77446dcf46f298b7e..288bb54f884c18019341d95c8fb2f3e812221baf 100644 (file)
                 <guid>{{ entry.url }}</guid>
                 <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
                 <description>
-                    <![CDATA[
-                    {%- if entry.readingTime > 0 -%}
-                        {{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}
-                    {%- else -%}
-                        {{ 'entry.list.reading_time_less_one_minute'|trans|raw }}
-                    {%- endif %}
-
-                    {{ entry.content|raw -}}
-                    ]]>
+                    <![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]>
                 </description>
             </item>
 
index 6cabcf4495625c9cb21e5cd77446dcf46f298b7e..288bb54f884c18019341d95c8fb2f3e812221baf 100644 (file)
                 <guid>{{ entry.url }}</guid>
                 <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
                 <description>
-                    <![CDATA[
-                    {%- if entry.readingTime > 0 -%}
-                        {{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}
-                    {%- else -%}
-                        {{ 'entry.list.reading_time_less_one_minute'|trans|raw }}
-                    {%- endif %}
-
-                    {{ entry.content|raw -}}
-                    ]]>
+                    <![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]>
                 </description>
             </item>