mirror of
https://github.com/iconify/iconify.git
synced 2025-01-06 07:20:40 +00:00
Utils: fix comments in encodeSVGforURL
This commit is contained in:
parent
e2d56ce62b
commit
8c8aa34d53
@ -3,10 +3,6 @@
|
||||
*
|
||||
* Short alternative to encodeURIComponent() that encodes only stuff used in SVG, generating
|
||||
* smaller code.
|
||||
*
|
||||
* If icon is not optimised, run trimSVG() before this function to get rid of new lines.
|
||||
* This function is intended to be used with Iconify icon sets, which are already optimised
|
||||
* and do not contain new lines.
|
||||
*/
|
||||
export function encodeSVGforURL(svg: string): string {
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user