This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% @author François Cardinaux, inspired by Marc Worrell's filter_escapejs module | |
%% and z_utils:json_escape/1 function | |
%% @copyright 2011 François Cardinaux | |
%% @doc Zotonic filter to escape strings as specified on http://www.json.org/ | |
%% Copyright 2011 François Cardinaux | |
%% | |
%% Licensed under the Apache License, Version 2.0 (the "License"); | |
%% you may not use this file except in compliance with the License. | |
%% You may obtain a copy of the License at |