Feature: #92338 - Allow link text wrapping in TypolinkViewhelper
See forge#92338
Description
Using the
f:
ViewHelper for generating links to internal
pages does now allow to wrap the automatically rendered link title, which
is usually the page title of the target page.
Therefore a new argument
text
is available, which can be used to
define the
wrap
setting for the typolink.
Defining
<f:
will generate
<a href="some/
.
Note
When adding additional classes to the
text
, ensure quotes are correctly
escaped:
<f:
.
If
text
is set, the typolink option
ATag
is automatically
enabled, because the
wrap
should only be applied to the link text. Every
other use case can be handled in the fluid template itself.
Impact
It's now possible with the
f:
ViewHelper, to wrap the
automatically generated link text, e.g. when linking to an internal page.