Currently the template engine (and other places) use addslashes() to escape data which is to be used in javascript, this is a poor solution and json_encode() should be employed to do the escaping.
- depends on
-
PHPBB-10389 JSON extension should be checked in the installer
-
- Closed
-
- is duplicated by
-
PHPBB-7582 Add JS_ prefix for tpl vars
-
- Closed
-