From b9de11315af60511130fd1adfbf99d157c29fec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 18 Aug 2021 16:21:02 +0200 Subject: [PATCH] Fix weird link rendering in content teasers --- .../Private/Partials/Teaser/OneColumn.html | 52 ++++++++----------- .../Private/Partials/Teaser/TwoColumn.html | 44 ++++++---------- 2 files changed, 37 insertions(+), 59 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/OneColumn.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/OneColumn.html index 857209f5..90a362dd 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/OneColumn.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/OneColumn.html @@ -1,40 +1,30 @@ - - - - - - - - - - - - - - - - - -
- - - - -
-
- {data.header -> f:format.nl2br()}{f:if(condition: data.subheader, then: '
{data.subheader}')}
-
- {data.bodytext -> f:format.html()} -
- + +
+ + + + +
+
+ + {data.header -> f:format.nl2br()}{f:if(condition: data.subheader, then: '
{data.subheader}')} +
+
+ {data.bodytext -> f:format.html()} +
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/TwoColumn.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/TwoColumn.html index 551ac8f4..2f9c85f5 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/TwoColumn.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Teaser/TwoColumn.html @@ -3,35 +3,23 @@ xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers" xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - - - - - - - - - - - - - - - - - - - -
- -
-
- {data.header -> f:format.nl2br()}{f:if(condition: data.subheader, then: '
{data.subheader}')}
-
- {data.bodytext -> f:format.html()} -
- + +
+ +
+
+ + {data.header -> f:format.nl2br()}{f:if(condition: data.subheader, then: '
{data.subheader}')} +
+
+ {data.bodytext -> f:format.html()} +
+ +