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:
+1
-1
@@ -128,7 +128,7 @@ twig:
|
||||
cache: false
|
||||
debug: true
|
||||
auto_reload: true
|
||||
autoescape: true
|
||||
autoescape: false
|
||||
undefined_functions: true
|
||||
undefined_filters: true
|
||||
safe_functions: { }
|
||||
|
||||
Reference in New Issue
Block a user