mintchaos / typogrify

A set of Django template filters to make caring about typography on the web a bit easier.
http://static.mintchaos.com/projects/typogrify/
Other
168 stars 29 forks source link

Double backslashes get eaten #51

Open spookylukey opened 6 years ago

spookylukey commented 6 years ago

For example:

>>> from typogrify.filters import typogrify
>>> typogrify('\\')   # a single backslash - correct output
'\\'

>>> typogrify('\\\\')   # double backslash - but output is single
'\'