diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-30 15:21:02 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-30 15:21:02 -0700 |
commit | beb711d6a0fedac0d4ca3b9bae162a6ce9d6cdeb (patch) | |
tree | bfb916d5c36c686b4ebcdab8e8c820b7f5302ace /modules/gallery/lib/HTMLPurifier/HTMLPurifier.autoload.php | |
parent | b5813f92c7a73e11d47d1943c217fdf6b7e41de9 (diff) |
Rename clean_js to js_string and have it return a complete JS string (with delimiters) instead of just the string contents.
Benefits: Using json_encode(), which is very robust. And as a user, it's clearer how to use this API compared to what it was before.
Diffstat (limited to 'modules/gallery/lib/HTMLPurifier/HTMLPurifier.autoload.php')
0 files changed, 0 insertions, 0 deletions