Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Allow to use all arguments of slugify jinja filter (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Baptiste Hugon <[email protected]>
  • Loading branch information
Jibux and Jean-Baptiste Hugon authored Mar 21, 2024
1 parent f7191e3 commit 37d79d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python_src/go_jinja2/ext/kluctl_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def sha256(s, digest_len=None):
return hash


def slugify(s, allow_unicode=False):
def slugify(s, **slugify_args):
from slugify import slugify as _slugify
return _slugify(s, allow_unicode=allow_unicode)
return _slugify(s, **slugify_args)


@jinja2.pass_context
Expand Down

0 comments on commit 37d79d2

Please sign in to comment.