Stripping tags from shared links on twitter/fb.

This commit is contained in:
Samuel Clay 2012-12-13 17:00:37 -08:00
parent 9a3b76c808
commit 77fbe799d9

View file

@ -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