Feature #18885
closed
Do not use htmlspecialchars for CSH description
Added by Uschi Renziehausen over 16 years ago.
Updated about 11 years ago.
Description
Problem:
The CSH node description may contain certain inline elements but runs through htmlcpecialchars() before it gets displayed on hover over a help icon, thus showing the html markup. See the attached 'before' screenshot.
Solution:
The attached patch removes the htmlspecialchars() from the description section in t3lib_befunc::helpText()
Uschi
(issue imported from #M8574)
Files
Hey Uschi,
should we close this one as it reverts a patch applied earlier this year? Sounds like reverting work and indeed will be troublesome for tags like <title> etc.
I think the best way to do it would be:
- Change all CSHs (yeah, will take a LONG time) to use <title> where needed, and use <b> / <i> where needed.
- Then we apply your patch to the trunk, after all documentation has been updated. What do you think?
Hey Benni,
can you give me an example where title is needed?
If we are going to update all of CSH, then please let us have real markup at least in the long description (including block elements and images). This would improve readability and usability a lot, because the image would be in the right context.
And now, what do you think :-)
Uschi
Yes, in the hover version, I'd like to have plain (HSCed) text only, in the long description we have a RTE transformation. How the latter will look like, I don't know yet :)
Dear folks,
can we please have html for csh in 4.3? Real html, I mean? We all know that the screenshots need to be updated but then in quite a few occasions we need to update the texts, either because they refer to the images or because they are simply out of date or not helpful. This is a time consuming job which we do not want to do twice, so having real html first is important.
On forge there is some info about what should be done with csh: http://forge.typo3.org/wiki/hci/New_CSH-System.
Can we please have at least some of it integrated in 4.3? Otherwise we will not have an updated csh even in 4.4.
Uschi
Again: Is that feasible for 4.3?
- Assignee deleted (
Steffen Kamper)
- Target version deleted (
0)
- Status changed from Accepted to Needs Feedback
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Also available in: Atom
PDF