]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix rendering of entry title in Twig views
authorKevin Decherf <kevin@kdecherf.com>
Wed, 1 Feb 2017 22:39:34 +0000 (23:39 +0100)
committerKevin Decherf <kevin@kdecherf.com>
Thu, 2 Feb 2017 20:54:15 +0000 (21:54 +0100)
This commit provides some improvements on the rendering of entry title
on entries list and entry views and refactors filter calls:
- Remove escape filter from apparent title, striptags is enough
- Move raw filter to the end of apparent title as it's ignored if not
  placed as the last filter
- Replace raw filter with e('html_attr') for title used in attributes,
  fixing possible issue and/or glitch
- Add striptags to entry.title used for link sharing to respect the
  apparent title

Fixes #2802

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>

No differences found