Answer the question
In order to leave comments, you need to log in
What is wrong with this SVG file?
Exported four SVG files from the layout PSD. Three work as they should, but something is wrong with one. If you open the link or simply double-click on the file, then everything opens in the browser perfectly. Well, if inside .jade img(src="img/adv.svg", alt="")
, then Opera displays as a broken image, Chrome does not want to display at all, the style="display: none !important;" attribute appears. His campaign is generated by browsers because they cannot deal with the file.
Tried to re-export - did not help. I tried to pass through the validator - he swore at data-name. Removed data-name - still all the same. The rest of the files also have data-name, but this does not prevent them from working normally.
What could be the reason ?
Uploaded the code https://codepen.io/theobroma/pen/PzBKzO .
Answer the question
In order to leave comments, you need to log in
Displayed normally.
I can dream up a little - you have an adblock, and the file name is very close to "advertising".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question