mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improve resilience of tags plugin
This commit is contained in:
parent
4f641cc0ee
commit
5acd0c3620
@ -51,7 +51,7 @@ class TagsPlugin(BasePlugin):
|
||||
|
||||
# Partially apply slugify function
|
||||
self.slugify = lambda value: (
|
||||
toc["slugify"](value, toc["separator"])
|
||||
toc["slugify"](str(value), toc["separator"])
|
||||
)
|
||||
|
||||
# Hack: 2nd pass for tags index page
|
||||
|
@ -51,7 +51,7 @@ class TagsPlugin(BasePlugin):
|
||||
|
||||
# Partially apply slugify function
|
||||
self.slugify = lambda value: (
|
||||
toc["slugify"](value, toc["separator"])
|
||||
toc["slugify"](str(value), toc["separator"])
|
||||
)
|
||||
|
||||
# Hack: 2nd pass for tags index page
|
||||
|
Loading…
Reference in New Issue
Block a user