Skip to content
Snippets Groups Projects
Commit bc5dc02e authored by Johannes Kreiner's avatar Johannes Kreiner
Browse files

[BUGFIX] Decode HTML entities in Youtube title and description

parent 0699c15c
No related branches found
No related tags found
No related merge requests found
......@@ -11,17 +11,21 @@
<f:if condition="{feedItem.title}">
<div class="sg-youtube-title">
<h3 class="h3">
{feedItem.title}
<f:format.htmlentitiesDecode>{feedItem.title}</f:format.htmlentitiesDecode>
</h3>
</div>
</f:if>
<f:if condition="{feedItem.description}">
<div class="sg-youtube-text">
<f:format.crop maxCharacters="200">{feedItem.description}</f:format.crop>
<f:format.htmlentitiesDecode>
<f:format.crop maxCharacters="200">
{feedItem.description}
</f:format.crop>
</f:format.htmlentitiesDecode>
</div>
</f:if>
</a>
</li>
</f:for>
</ul>
</f:section>
\ No newline at end of file
</f:section>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment