[formatter] add 'q' & 'Q' conversions - URL-en/decode values

This commit is contained in:
Mike Fährmann
2026-02-03 16:29:34 +01:00
parent 5ddee423ed
commit 0be3383110
3 changed files with 20 additions and 1 deletions

View File

@@ -606,6 +606,8 @@ _CONVERSIONS = {
"T": dt.to_ts_string,
"d": dt.parse_ts,
"D": dt.convert,
"q": text.quote,
"Q": text.unquote,
"U": text.unescape,
"H": lambda s: text.unescape(text.remove_html(s)),
"g": text.slugify,