Skip to content

Conversation

@afoeder
Copy link
Contributor

@afoeder afoeder commented Mar 13, 2025

When using custom SVGs that contained
characters breaking a URL, like a hash #
sign that is consiered a URL fragment,
the rendering broke. This adds a jinja
urlencode filter to the output.

Fixes #8086

When using custom SVGs that contained characters breaking a URL, like a hash # sign that is consiered a URL fragment, the rendering broke. This adds a jinja urlencode filter to the output. Fixes squidfunk#8086
@afoeder
Copy link
Contributor Author

afoeder commented Mar 13, 2025

So, this is confirmed fixing the bug at hand,

image

…however the styling is unfortunate, all grey, as also already pointed out by @mocdaniel in #8082 (reply in thread)

@squidfunk
Copy link
Owner

Thanks for the PR. LGTM.

@squidfunk squidfunk merged commit 52b584f into squidfunk:master Mar 14, 2025
@afoeder afoeder deleted the feature/custom-svgs-encoded branch March 14, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants