Skip to content

Inline SVGs with inline_svg gem #5938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 20, 2025
Merged

Conversation

hlfan
Copy link
Contributor

@hlfan hlfan commented Apr 17, 2025

Description

Using the inline_svg gem, this PR resolves #5880.

How has this been tested?

Verifying that the local Rails output matches

@AntonKhorev
Copy link
Collaborator

Do you want both optimizing svg by micromanaging their attributes and externalizing them as effectively "binary" data? How is that supposed to work at the same time?

@hlfan

This comment was marked as off-topic.

@hlfan hlfan force-pushed the outline-svg branch 2 times, most recently from 1c49715 to f637c55 Compare May 26, 2025 14:32
@hlfan hlfan force-pushed the outline-svg branch 2 times, most recently from 13c45a4 to 08895a3 Compare May 26, 2025 18:57
@github-actions github-actions bot removed the big-pr label May 26, 2025
@hlfan hlfan force-pushed the outline-svg branch 2 times, most recently from 30bda22 to 08f39f5 Compare June 1, 2025 17:47
@hlfan hlfan force-pushed the outline-svg branch 6 times, most recently from b8f12cf to 8c11362 Compare June 22, 2025 16:19
@hlfan hlfan force-pushed the outline-svg branch 8 times, most recently from 0a24a2e to d53da02 Compare June 29, 2025 16:40
@hlfan hlfan force-pushed the outline-svg branch 3 times, most recently from a3b34e1 to 4b26e74 Compare June 30, 2025 19:26
@hlfan hlfan changed the title Inline SVGs with helper module Inline SVGs with inline_svg gem Jul 19, 2025
@tomhughes
Copy link
Member

Looks good to me, thanks.

@tomhughes tomhughes merged commit 0c119bf into openstreetmap:master Jul 20, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can we avoid inlining svgs into erb templates?
3 participants