Skip to content
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

Fix for spaces being removed during "minify" build for "mermaid" snippet #613

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

FuadEfendi
Copy link
Contributor

"mindmap" style is not rendered correctly with "--minify" because spaces are removed from final HTML

"mindmap" style is not rendered correctly with "--minify"  because spaces are removed from final HTML
@alex-shpak
Copy link
Owner

Hi!
I'm afraid it might break mermaid snippet for some users, tho, I'm gonna merge it for --minify support
If needed styles for pre can be overwritten with pre.mermaid in css

Thanks!

@alex-shpak alex-shpak merged commit 94edf47 into alex-shpak:master Oct 1, 2024
4 checks passed
Hanekihyouka pushed a commit to Hanekihyouka/hugo-book that referenced this pull request Oct 11, 2024
…pet (alex-shpak#613)

"mindmap" style is not rendered correctly with "--minify"  because spaces are removed from final HTML
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.

2 participants