~netlandish/django-wiki

95bfb05d7ef34523788c2bfdf57911a19f45b8ec — Artem Tabolin 4 years ago 6ed5d66
Remove unused constant (#1003)

The usage was removed in c9b7f0b7b370c21b52f8e6c937687e9edb1d748b#diff-916cdb5c7b700ddd753057b9b0945e86">https://github.com/django-wiki/django-wiki/commit/c9b7f0b7b370c21b52f8e6c937687e9edb1d748b#diff-916cdb5c7b700ddd753057b9b0945e86
1 files changed, 0 insertions(+), 2 deletions(-)

M src/wiki/plugins/macros/mdx/toc.py
M src/wiki/plugins/macros/mdx/toc.py => src/wiki/plugins/macros/mdx/toc.py +0 -2
@@ 5,8 5,6 @@ from wiki.plugins.macros import settings

HEADER_ID_PREFIX = "wiki-toc-"

IDCOUNT_RE = re.compile(r'^(.*)_([0-9]+)$')


def wiki_slugify(*args, **kwargs):
    return HEADER_ID_PREFIX + slugify(*args, **kwargs)