From 8c8aa34d532bee28dc8ff488c9f3cba187db3ffd Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Sun, 1 May 2022 09:04:54 +0300 Subject: [PATCH] Utils: fix comments in encodeSVGforURL --- packages/utils/src/svg/url.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/utils/src/svg/url.ts b/packages/utils/src/svg/url.ts index e707658..6bf7678 100644 --- a/packages/utils/src/svg/url.ts +++ b/packages/utils/src/svg/url.ts @@ -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 (