You have a typo. The function signature is def typogrify(text). You're passing a keyword argument ttext in context.typogrify_text(ttext=text). Just change ttext to text. Hedley