From 77fbe799d958f3bbfdc618dd9d1be8dd103be20c Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 13 Dec 2012 17:00:37 -0800 Subject: [PATCH] Stripping tags from shared links on twitter/fb. --- apps/social/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/social/models.py b/apps/social/models.py index 1120773ec..f36d52302 100644 --- a/apps/social/models.py +++ b/apps/social/models.py @@ -1680,7 +1680,7 @@ class MSharedStory(mongo.Document): ) def generate_post_to_service_message(self, include_url=True): - message = self.comments + message = strip_tags(self.comments) if not message or len(message) < 1: message = self.story_title