summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorVal Neekman <val@neekware.com>2015-07-08 09:40:22 -0400
committerVal Neekman <val@neekware.com>2015-07-08 09:40:22 -0400
commit632ea7d6d54302443d8011727ed5ef7174d50640 (patch)
treefdcc81fd1dd812dbd307566b11c3942917025691 /README.md
parent2a55aed04fed93b5fc99b8a305ef713fc25faac8 (diff)
downloadpython-slugify-632ea7d6d54302443d8011727ed5ef7174d50640.tar.gz
up version1.1.3
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0e06252..fb4ca24 100644
--- a/README.md
+++ b/README.md
@@ -142,6 +142,10 @@ How to use
txt = 'the quick brown fox jumps over the lazy dog in a hurry'
r = slugify(txt, stopwords=['the', 'in', 'a', 'hurry'])
self.assertEqual(r, 'quick-brown-fox-jumps-over-lazy-dog')
+
+ txt = 'foo &amp; bar'
+ r = slugify(txt)
+ self.assertEqual(r, 'foo-bar')
```
Running the tests
@@ -169,8 +173,8 @@ X.Y.Z Version
[status-image]: https://secure.travis-ci.org/un33k/python-slugify.png?branch=master
[status-link]: http://travis-ci.org/un33k/python-slugify?branch=master
-[version-image]: https://img.shields.io/pypi/v/djangorestframework.svg
-[version-link]: https://pypi.python.org/pypi/djangorestframework
+[version-image]: https://img.shields.io/pypi/v/python-slugify.svg
+[version-link]: https://pypi.python.org/pypi/python-slugify
[coverage-image]: https://coveralls.io/repos/un33k/python-slugify/badge.svg
[coverage-link]: https://coveralls.io/r/un33k/python-slugify