From 23197af7253203cf9a9564ccf45aa52123775c14 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 23 Sep 2014 23:05:41 -0400 Subject: [PATCH] closes #2114 --- src/controllers/topics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/topics.js b/src/controllers/topics.js index b925568127..d3987d44b1 100644 --- a/src/controllers/topics.js +++ b/src/controllers/topics.js @@ -131,6 +131,7 @@ topicsController.get = function(req, res, next) { } description = validator.escape(description); + description = description.replace(/'/g, '''); var ogImageUrl = ''; if (topicData.thumb) {