Skip to content

Commit

Permalink
Fixed order of blogpost text munge-on-save.
Browse files Browse the repository at this point in the history
  • Loading branch information
idan committed Mar 9, 2011
1 parent 0ff8560 commit 1cd5160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __unicode__(self):
return self.title

def save(self, *args, **kwargs):
self.body = unicode(markdown(smartyPants(self.body_markdown)))
self.body = unicode(smartyPants(markdown(self.body_markdown)))
super(BlogPost, self).save(*args, **kwargs)

@permalink
Expand Down

0 comments on commit 1cd5160

Please sign in to comment.