| Index: tools/grit/grit/gather/policy_json.py
|
| diff --git a/tools/grit/grit/gather/policy_json.py b/tools/grit/grit/gather/policy_json.py
|
| index cd7875fffcabe4447d887e078bc4c50774fcba33..c4545088b6ec06362e9a754289cf719f2d17d717 100644
|
| --- a/tools/grit/grit/gather/policy_json.py
|
| +++ b/tools/grit/grit/gather/policy_json.py
|
| @@ -178,7 +178,7 @@ class PolicyJson(skeleton_gatherer.SkeletonGatherer):
|
| else:
|
| str_val = item[key]
|
| if type(str_val) == types.StringType:
|
| - str_val = "'%s'" % str_val
|
| + str_val = "'%s'" % self.Escape(str_val)
|
| else:
|
| str_val = str(str_val)
|
| self._AddNontranslateableChunk(str_val + ',\n')
|
|
|