summaryrefslogtreecommitdiffstats
path: root/askbot/doc/source/contributors.rst
diff options
context:
space:
mode:
authorRobert Martin <rdm@google.com>2013-05-24 17:28:48 -0400
committerRobert Martin <rdm@google.com>2013-05-24 17:35:31 -0400
commit01968ef987a38bcc9579c41e09d49a4e60059571 (patch)
treeb3edc87c0781ed135ec6ce301e54e54552cc683d /askbot/doc/source/contributors.rst
parent806df3c2b0a71a85b6777e7f13e01dc115d9bef6 (diff)
downloadaskbot-01968ef987a38bcc9579c41e09d49a4e60059571.tar.gz
askbot-01968ef987a38bcc9579c41e09d49a4e60059571.tar.bz2
askbot-01968ef987a38bcc9579c41e09d49a4e60059571.zip
tweak slugify code to avoid double-unidecode
Previously, slugify would run a unidecode() on the input_text if unicode slugs were disallowed. This caused a warning if the input_text was already de-unicode. This splits the logic into two steps: first demote input_text if unicode is disallowed; then, choose the appropriate slugify function based on the result.
Diffstat (limited to 'askbot/doc/source/contributors.rst')
0 files changed, 0 insertions, 0 deletions