fix: correct HTML rendering in entry body and feed excerpts

- entry.html.twig: add |raw to page.content (autoescape: true in
  system.yaml was escaping all HTML output including rendered markdown)
- tracker.html.twig: use |striptags|slice(0,250) for clean plain-text
  excerpts instead of raw HTML summary
- Both templates: fix location display whitespace (Tokyo , Japan → Tokyo, Japan)
  using parts array pattern with Twig whitespace control

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-18 19:30:47 +02:00
parent 0eb5e8c6a5
commit 8cc141d7d2
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ twig:
cache: false
debug: true
auto_reload: true
autoescape: true
autoescape: false
undefined_functions: true
undefined_filters: true
safe_functions: { }