(s: string)
| 546 | * http://www.site.org/html;mk=mv?k=v#f |
| 547 | */ |
| 548 | export function encodeUriSegment(s: string): string { |
| 549 | return encodeUriString(s).replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/%26/gi, '&'); |
| 550 | } |
| 551 | |
| 552 | export function decode(s: string): string { |
| 553 | return decodeURIComponent(s); |
no test coverage detected
searching dependent graphs…