Skip to content
Browse files

Added François Cardinaux to contributors, fix docstring.

  • Loading branch information...
1 parent 704b817 commit e5befeb0244d737e4f974e5686edc7d08e353917 @arjan arjan committed Jan 9, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 CONTRIBUTORS
  2. +2 −2 src/support/z_utils.erl
View
1 CONTRIBUTORS
@@ -13,6 +13,7 @@ Daniel Hedlund <daniel@digitree.org>
Dmitrii Dimandt <dmitriid@gmail.com>
Elise Lambert <lambert_elise@hotmail.com>
Evren Kutar <furiston@gmail.com>
+François Cardinaux <fcardinaux@gmail.com>
Igor Goryachev <igor@goryachev.org>
Jason Tanner <jt4websites@googlemail.com>
Jim Geovedi (xyn on github)
View
4 src/support/z_utils.erl
@@ -478,8 +478,8 @@ js_prop_value(_, Value) -> [$",js_escape(Value),$"].
%%% ESCAPE JSON %%%
-%% @doc Json escape (http://www.json.org/)
-
+%% @doc JSON escape for safe quoting of JSON strings. Subtly different
+%% from JS escape, see http://www.json.org/
json_escape(undefined) -> [];
json_escape([]) -> [];
json_escape(<<>>) -> [];

0 comments on commit e5befeb

Please sign in to comment.
Something went wrong with that request. Please try again.