Actions
Bug #93375
openSuperfluous p-tags added by lib.parseFunc.makelinks when link is parsed and string contains other tags
Start date:
2021-01-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When lib.parseFunc.makelinks = 1
is set (default), superfluous p-tags are added when the string contains additional tags (e.g. em or strong).
Raw input created with CK Editor in the TYPO3 backend:
<p>This text contains an string URL https://www.typo3.org and no superfluous p-tags are added by lib.parseFunc.makelinks</p> <p>This text <em>contains</em> an string URL https://www.typo3.org and <em>superfluous</em> p-tags are by lib.parseFunc.makelinks.</p> <p>This text <strong>contains</strong> an string URL https://www.typo3.org and <strong>superfluous</strong> p-tags are added by lib.parseFunc.makelinks.</p> <p>This text <strong>contains</strong> an linked URL <a href="https://www.typo3.org">https://www.typo3.org</a> and no <strong>superfluous</strong> p-tags are added by lib.parseFunc.makelinks.</p>
Expected Result (screenshot):
Current Result (screenshot):
Files
Actions