Skip to content

Node.js based forum software built for the modern web

closes #2114

barisusakli23197af72532
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) {