-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
minify makes mermaid subgraphs and diamonds black #260
Comments
The problem is that the CSS is referencing the rectangle and giving it colors, but the minifier converted it into a |
I figured it had something to do with path conversions. Looks like adding a conditional testing for related css could be added to the elseifs: Lines 118 to 122 in 579ccef
|
Fixed in c05f24e |
- v2.5.1 removes import comments, solving a build error with Go 1.13 in GOPATH mode (used Debian packaging for example) - v2.5.2 no longer converts polyline/rect/polygon/line to path as it has been reported to break a SVG referenced by CSS, see tdewolff/minify#260 The test case for Min SVG in TestResourceChains is updated accordingly. Fixes pocc/tshark.dev#33
- v2.5.1 removes import comments, solving a build error with Go 1.13 in GOPATH mode (used Debian packaging for example) - v2.5.2 no longer converts polyline/rect/polygon/line to path as it has been reported to break a SVG referenced by CSS, see tdewolff/minify#260 The test case for Min SVG in TestResourceChains is updated accordingly. Fixes pocc/tshark.dev#33
Minify made a fix in tdewolff/minify#260, which is then upstreamed as gohugoio/hugo#6403 (v0.59.0)
Minify made a fix in tdewolff/minify#260, which is then upstreamed as gohugoio/hugo#6403 (v0.59.0)
Minify made a fix in tdewolff/minify#260, which is then upstreamed as gohugoio/hugo#6403 (v0.59.0)
Minify made a fix in tdewolff/minify#260, which is then upstreamed as gohugoio/hugo#6403 (v0.59.0)
May be related to #256 and #19
Mermaid is a diagram creation tool that can save as svg.
Mermaid subgraphs and diamonds come out black. Source mermaid:
Source and svgs included in mermaid.zip
Separately, is there some way to make minify ignore an HTML div or file?
The text was updated successfully, but these errors were encountered: