From 3e29d0f3f8bf876de355f59e2ead668030060a81 Mon Sep 17 00:00:00 2001 From: Denis Ryabov Date: Wed, 26 Mar 2014 01:42:01 +0400 Subject: [PATCH] fix cry smile --- jquery-emotions/jquery.emotions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jquery-emotions/jquery.emotions.js b/jquery-emotions/jquery.emotions.js index 67b50ff..fe3f5c9 100644 --- a/jquery-emotions/jquery.emotions.js +++ b/jquery-emotions/jquery.emotions.js @@ -106,7 +106,8 @@ .replace(/&/g, '&') .replace(//g, '>') - .replace(/"/g, '"'); + .replace(/"/g, '"') + .replace(/'/g, '''); }, quote: function (str) { return (str + '').replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");