chrisdrackett / django-typogrify

Typogrify is a collection of Django template filters that help prettify your web typography by preventing ugly quotes and widows and providing CSS hooks to style some special cases.
Other
107 stars 21 forks source link

Refactor logic out of the django tags #9

Closed ralsina closed 9 years ago

ralsina commented 11 years ago

For this code to be more reusable, logic needs to be outside the tags.

This branch does that for most tags, plus adds a couple of naïve replacements for Django's conditional_escape and force_unicode

Since I am not very familiar with Django templatetags, if any branch was going to break stuff it's this one ;-)

Review on Reviewable