jinja icon indicating copy to clipboard operation
jinja copied to clipboard

urlize support for quotes

Open 0xhtml opened this issue 1 year ago • 0 comments

I would benefit from there being an option to add quotes to the punctuation ignored by urllize, such that, e.g., lorem ipsum 'example.org'. gets converted to lorem ipsum '<a href=https://example.org>example.org</a>'..

I coded a ruff example implementation that allows configuration of the stripped characters through policies: https://github.com/pallets/jinja/commit/19817a6b7fff6159e28e962deb06109545987d87

0xhtml avatar Mar 18 '24 01:03 0xhtml