diff --git a/README.md b/README.md index e7f5504..2e238e7 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,8 @@ The extension already allows: * Page Type to reference tourist attraction + * Descriptions are formatted HTML, use `f:format.html` ViewHelper for rendering. + ## Short time goals * Content element to display town, tourist information and organisation. diff --git a/Resources/Private/Templates/Frontend/ContentElement/TouristAttraction.html b/Resources/Private/Templates/Frontend/ContentElement/TouristAttraction.html index bd6242c..ffd3fda 100644 --- a/Resources/Private/Templates/Frontend/ContentElement/TouristAttraction.html +++ b/Resources/Private/Templates/Frontend/ContentElement/TouristAttraction.html @@ -2,7 +2,7 @@ data-namespace-typo3-fluid="true">
{entity.title} ({entity.town.title})
-

{entity.description}

+ {entity.description -> f:format.html()}