mirror of
https://github.com/iconify/iconify.git
synced 2024-11-16 17:45:09 +00:00
Fix case in preserveAspectRatio attribute
This commit is contained in:
parent
0095938ef4
commit
b20af2764c
@ -40,8 +40,8 @@
|
||||
html = html.slice(pos + 1);
|
||||
}
|
||||
|
||||
// Fix viewBox attribute
|
||||
html = html.replace('viewbox=', 'viewBox=');
|
||||
// Fix lower case attributes
|
||||
html = html.replace('viewbox=', 'viewBox=').replace('preserveaspectratio=', 'preserveAspectRatio=');
|
||||
|
||||
// Add body
|
||||
pos = html.indexOf('</');
|
||||
|
Loading…
Reference in New Issue
Block a user