Skip to content
Browse files

Oops, removed safe mode on save

  • Loading branch information...
1 parent 22c7780 commit 097955c22acccbf71069890eed0c2ae74cb84390 Timmy O'Mahony committed Apr 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmsplugin_pagedown/models.py
View
2 cmsplugin_pagedown/models.py
@@ -9,7 +9,7 @@ class PagedownConfig(CMSPlugin):
plaintext = models.TextField()
def save(self, *args, **kwargs):
- self.html = markdown.markdown(self.markdown, safe_mode=True)
+ self.html = markdown.markdown(self.markdown)
self.plaintext = striptags(self.html)
super(PagedownConfig, self).save(args, kwargs)

0 comments on commit 097955c

Please sign in to comment.
Something went wrong with that request. Please try again.