Add hint regarding formatted descriptions

This commit is contained in:
Daniel Siepmann 2021-05-27 15:27:45 +02:00
parent 197a3e4696
commit 1b304945c0
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -2,7 +2,7 @@
data-namespace-typo3-fluid="true">
<f:for each="{entities}" as="entity">
<h5>{entity.title} ({entity.town.title})</h5>
<p>{entity.description}</p>
{entity.description -> f:format.html()}
<f:if condition="{entity.media.mainImage}">
<f:image src="{entity.media.mainImage.url}" />