Features: 1) Update regex pattern in slug generator for improved handling of underscores and word characters;
Fixes: None; Extra: None;
This commit is contained in:
parent
e6ffb476fb
commit
0e4d5fe59f
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ def unicode_slugify_function(content):
|
||||||
max_length=88,
|
max_length=88,
|
||||||
word_boundary=True,
|
word_boundary=True,
|
||||||
save_order=True,
|
save_order=True,
|
||||||
regex_pattern=r"[^A-Za-z0-9-]+",
|
regex_pattern=r"(?:[^\w-]|_)+",
|
||||||
separator="-",
|
separator="-",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue