Clean up minor text formatting, spelling, grammar

This commit is contained in:
Justin Mayer 2013-06-22 12:28:37 -07:00
commit dd9f55c8bb

View file

@ -216,7 +216,7 @@ def get_date(string):
class pelican_open(object):
"""Open a file and return it's content"""
"""Open a file and return its content"""
def __init__(self, filename):
self.filename = filename
@ -236,7 +236,7 @@ def slugify(value):
Normalizes string, converts to lowercase, removes non-alpha characters,
and converts spaces to hyphens.
Took from django sources.
Took from Django sources.
"""
# TODO Maybe steal again from current Django 1.5dev
value = Markup(value).striptags()