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

gulp svgmin remove part of style #1

Open
epointal opened this issue Jan 21, 2019 · 0 comments
Open

gulp svgmin remove part of style #1

epointal opened this issue Jan 21, 2019 · 0 comments

Comments

@epointal
Copy link
Member

epointal commented Jan 21, 2019

The result of gulp-svgmin on this following code

<style>
<![CDATA[
  #systeme_terre a{
    cursor:pointer;
 }
#systeme_terre a:hover path,
#systeme_terre a:hover rect{
	stroke: rgb(140,2,9);
	stroke-width:3px; 
   }
 ]]>
</style>

is this compressed code:
<style><style>#systeme_terre a{cursor:pointer}#systeme_terre a:hover rect{stroke:#8c0209;stroke-width:3px}</style>
And there are no tag path in the source, then it remove the style.
But after rect is replaced by path.

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

No branches or pull requests

1 participant