[FEATURE] Add textWrap argument to f:link.typolink viewhelper
This adds the ability to wrap the content of an automatically generated typolink link text, e.g. when linking to internal pages, with markup using the typolink options `wrap` and `ATagBeforeWrap`. Resolves: #92338 Releases: master Change-Id: I1ecac8fe52384acef249177850662ebc90497b1a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65758 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Feature-92338-AllowLinkTextWrappingInTypolinkViewhelper.rst 38 additions, 0 deletions...ature-92338-AllowLinkTextWrappingInTypolinkViewhelper.rst
- typo3/sysext/fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php 20 additions, 0 deletions...ext/fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php
- typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php 5 additions, 1 deletion...id/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php
Please register or sign in to comment