source: trip-planner-front/node_modules/postcss-svgo/dist/lib/url.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 377 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.encode = encode;
7exports.decode = void 0;
8
9function encode(data) {
10 return data.replace(/"/g, "'").replace(/%/g, '%25').replace(/</g, '%3C').replace(/>/g, '%3E').replace(/&/g, '%26').replace(/#/g, '%23').replace(/\s+/g, ' ');
11}
12
13const decode = decodeURIComponent;
14exports.decode = decode;
Note: See TracBrowser for help on using the repository browser.