X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=660211f2562bb30e8011804531234abc8c848fd8;hb=64f81bc31699ed239e4becec1cfa7ebc0bef2b5a;hp=675168bbae601c51cb2ad3591803d5b2d2d51151;hpb=336262e6ee9c57437793a06fb416206ac73a1702;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index 675168bb..660211f2 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig @@ -1,27 +1,38 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{{ entry.title|raw }} ({{ entry.domainName|removeWww }}){% endblock %} +{% block title %}{{ entry.title|e|raw }} ({{ entry.domainName|removeWww }}){% endblock %} {% block content %}
-

{{ entry.title|raw }} ✎

+

{{ entry.title|e|raw }} ✎

- + + {{ entry.createdAt|date('Y-m-d H:i') }} + + + {% if entry.publishedAt is not null %} + + {{ entry.publishedAt|date('Y-m-d H:i') }} + + {% endif %} - + - {% set nbAnnotations = entry.annotations | length %} comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
{% if entry.previewPicture is not null %} -
{{ entry.title|raw }}
+
{{ entry.title|e|raw }}
{% endif %}
{{ entry.content | raw }} @@ -76,22 +102,4 @@ "entryId": "{{ entry.id }}" } - - {% endblock %}