Feature #39578
closedAdd whitespace between two tags when using stripHtml stdWrap
0%
Description
Having a block like this :
page = PAGE page.10 = TEXT page.10.value = <li>Hello</li><li>World</li> page.10.stripHtml = 1
results in an output "HelloWorld"
I suggest to put a whitespace between the closing and opening tag to get the proper output "Hello World"
I will provide a patch for this feature
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13493
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13493
Updated by Ingo Pfennigstorf over 12 years ago
If this breaks something, maybe it's smarter to add something like
page.10.stripHtml = 1 page.10.stripHtml.addWhitespaceBetweenTags = 1
and do not change the default behaviour.
What do you think?
Updated by Oliver Klee over 12 years ago
Even if we make this feature non-default, we still need unit tests to make sure that this change does not break anything. (In other words: Breaking things is not okay even if the feature is optional. :-)
Updated by Ingo Pfennigstorf over 12 years ago
I will surely add some unit tests that will be included in the next patchset
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13493
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13493
Updated by Alexander Opitz over 11 years ago
Hi Ingo,
do you like to update your patch?
Updated by Chris topher over 11 years ago
- Status changed from Under Review to New
The patch was abandoned.
Updated by Mathias Schreiber almost 10 years ago
- Assignee set to Mathias Schreiber
- Priority changed from Should have to Could have
- Target version set to 7.2 (Frontend)
Updated by Benni Mack over 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Susanne Moog almost 5 years ago
- Status changed from New to Closed
- Assignee deleted (
Mathias Schreiber)
Due to low demand / low priority I'm going to close this issue now. If anyone takes time to implement it, simply open a new issue please. Thanks.