summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVal Neekman <val@neekware.com>2019-07-27 22:57:38 -0400
committerVal Neekman <val@neekware.com>2019-07-27 22:57:38 -0400
commitb79331ced4d93b15dc35bb0a356ccbd03604c123 (patch)
treec0fac325cd768d6a5fd797f0fbeb47d43c1dfbfb
parentb79264267ffbdc69b419b75ca5070bfe5cf4197e (diff)
downloadpython-slugify-b79331ced4d93b15dc35bb0a356ccbd03604c123.tar.gz
remove unicode chars from file
-rw-r--r--slugify/slugify.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/slugify/slugify.py b/slugify/slugify.py
index f9bd23d..6e66ace 100644
--- a/slugify/slugify.py
+++ b/slugify/slugify.py
@@ -80,9 +80,9 @@ def slugify(text, entities=True, decimal=True, hexadecimal=True, max_length=0, w
"""
Make a slug from the given text.
:param text (str): initial text
- :param entities (bool): converts html entities to unicode (foo &amp; bar -> foo-bar)
- :param decimal (bool): converts html decimal to unicode (&#381; -> Ž -> z)
- :param hexadecimal (bool): converts html hexadecimal to unicode (&#x17D; -> Ž -> z)
+ :param entities (bool): converts html entities to unicode
+ :param decimal (bool): converts html decimal to unicode
+ :param hexadecimal (bool): converts html hexadecimal to unicode
:param max_length (int): output string length
:param word_boundary (bool): truncates to complete word even if length ends up shorter than max_length
:param save_order (bool): if parameter is True and max_length > 0 return whole words in the initial order