-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-71356] handle svg cleanup via a xml document
some attributes and elements where removed via regular expressions. Additionally `stroke:#000 was replaced with currentColor because there are some icons that still use that. This had sideeffects when symbols are used that are not just black/white, e.g. using svg from jenkins artwork via customizable-header plugin. There are construct like using class attributes and a style definition referring to the classes. At other places there where color definitions with `stroke:#000abc` which were incorrectly modified. svg cleanup is now implemented with DOM manipulation which is more robust. 5 icons that still used `stroke:#000` are converted to use `stroke:currentColor`
- Loading branch information
1 parent
0a5aa0e
commit 289db0e
Showing
6 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.