On Dec 27, 2006, at 7:58 PM, [EMAIL PROTECTED] wrote:

Has anybody written a template filter to automatically convert inch
marks (") to the correct smart quotes, and (') to apostrophes? How do
you think is the best way for me to accomplish this?

Check out the Python version of Smartypants. I don't think Markup support's it as a filter though. You may have to process the chunk through smartypants before passing to the template.

---
David Zhou
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to