Project

General

Profile

Actions

Task #50449

closed

PHP-functionality instead of GeneralUtility::deHSCentities

Added by Stefan Neufeind over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2013-07-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

htmlentities / htmlspecialchars since PHP 5.2.3 provide a parameter to prevent double-encoding of entities. Use that instead of applying deHSCentities() on the result.

Currently done like:
GeneralUtility::deHSCentities(htmlspecialchars($label))

Actions

Also available in: Atom PDF