mirror of
https://github.com/spirit-x64/scripts.git
synced 2024-11-23 22:33:10 +03:00
fix svg path placing
This commit is contained in:
parent
7f604771f1
commit
615777fb13
@ -29,8 +29,8 @@ if [[ -f "$html_file" ]]; then
|
|||||||
file = substr($0, RSTART+29, RLENGTH-31)
|
file = substr($0, RSTART+29, RLENGTH-31)
|
||||||
print "´"file"´\n"substr($0, RSTART+31+length(file))
|
print "´"file"´\n"substr($0, RSTART+31+length(file))
|
||||||
} else if (match($0, /<link rel="icon" type="image\/svg\+xml" href="([^"]+\.svg)">/)) {
|
} else if (match($0, /<link rel="icon" type="image\/svg\+xml" href="([^"]+\.svg)">/)) {
|
||||||
file = substr($0, RSTART+53, RLENGTH-55)
|
file = substr($0, RSTART+44, RLENGTH-46)
|
||||||
print "´SVG:"file"´\n"substr($0, RSTART+55+length(file))
|
print "´SVG:"file"´\n"substr($0, RSTART+46+length(file))
|
||||||
} else {
|
} else {
|
||||||
print $0
|
print $0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user