Project

General

Profile

Actions

Task #57107

closed

Feature #56642: Missing TypoScript property to quote and escape content for use in JavaScript

Rename escapeJsValue and make it context specific

Added by Jigal van Hemert over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
TypoScript
Target version:
-
Start date:
2014-03-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

The stdWrap property escapeJsValue actually encodes the content and should thus be called encodeJsValue. Also the value must be enclosed in quotes to prevent it from being used outside the target context of string values in JavaScript.

Actions

Also available in: Atom PDF