[FEATURE] Introduce <f:transform.html> view-helper
Introduces `<f:transform.html>` view-helper, providing capabilities to resolves system internal links, like `t3://`. Example: <f:transform.html selector="a.href,div.data-uri"> <a href="t3://page?uid=1" class="page">visit</a> <div data-uri="t3://page?uid=1" class="page trigger">visit</div> </f:transform.html> ... will be resolved and transformed to the following markup ... <a href="https://typo3.localhost/" class="page">visit</a> <div data-uri="https://typo3.localhost/" class="page trigger"> visit</div> Following Composer dependency is made explicit: composer req masterminds/html5:'^2.7' ext-dom:'*' Resolves: #95176 Releases: master Change-Id: Ib0101fbe120343dc404f0816da6d38946df0d931 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70977 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Lina Wolf <112@linawolf.de> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Lina Wolf <112@linawolf.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- composer.json 2 additions, 0 deletionscomposer.json
- composer.lock 2 additions, 1 deletioncomposer.lock
- typo3/sysext/core/Classes/DependencyInjection/CommonFactory.php 33 additions, 0 deletions...sysext/core/Classes/DependencyInjection/CommonFactory.php
- typo3/sysext/core/Configuration/Services.yaml 3 additions, 0 deletionstypo3/sysext/core/Configuration/Services.yaml
- typo3/sysext/core/Documentation/Changelog/master/Feature-95176-IntroduceFtransformhtmlView-helper.rst 67 additions, 0 deletions...ster/Feature-95176-IntroduceFtransformhtmlView-helper.rst
- typo3/sysext/core/composer.json 2 additions, 0 deletionstypo3/sysext/core/composer.json
- typo3/sysext/fluid/Classes/ViewHelpers/Transform/HtmlViewHelper.php 116 additions, 0 deletions...xt/fluid/Classes/ViewHelpers/Transform/HtmlViewHelper.php
- typo3/sysext/fluid/Tests/Functional/ViewHelpers/Transform/HtmlViewHelperTest.php 206 additions, 0 deletions...s/Functional/ViewHelpers/Transform/HtmlViewHelperTest.php
- typo3/sysext/frontend/Classes/Html/HtmlWorker.php 180 additions, 0 deletionstypo3/sysext/frontend/Classes/Html/HtmlWorker.php
- typo3/sysext/frontend/Classes/Typolink/LinkResultFactory.php 62 additions, 0 deletionstypo3/sysext/frontend/Classes/Typolink/LinkResultFactory.php
- typo3/sysext/frontend/Configuration/Services.yaml 6 additions, 0 deletionstypo3/sysext/frontend/Configuration/Services.yaml
Please register or sign in to comment