mirror of
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git
synced 2024-10-18 09:10:34 -04:00
Fix orphan '-inkscape-' in the style attribute
This commit is contained in:
parent
042556c2b8
commit
67b70dc0f4
1 changed files with 5 additions and 5 deletions
|
@ -28,6 +28,11 @@
|
|||
# add a trailing semicolon for secure matching
|
||||
s/style="([^"]+[^;])"/style="\1;"/gI
|
||||
|
||||
# delete Inkscape properties
|
||||
/-inkscape-/ {
|
||||
s/-inkscape-[^;"]+;//gI
|
||||
}
|
||||
|
||||
# delete properties with default values
|
||||
s/alignment-baseline:auto;//gI
|
||||
s/backface-visibility:visible;//gI
|
||||
|
@ -137,11 +142,6 @@
|
|||
s/paint-order:stroke markers fill;//gI
|
||||
s/paint-order:markers stroke fill;//gI
|
||||
|
||||
# delete Inkscape properties
|
||||
/-inkscape-/ {
|
||||
s/-inkscape-[^;"]+;//gI
|
||||
}
|
||||
|
||||
# delete 'fill- *' properties if fill equal none
|
||||
/fill[:=]"?none/ {
|
||||
s/fill-rule:[^;"]+;//gI
|
||||
|
|
Loading…
Reference in a new issue