(value: string)
| 283 | } |
| 284 | |
| 285 | function decodeHashFragment(value: string): string { |
| 286 | try { |
| 287 | return decodeURIComponent(value) |
| 288 | } catch { |
| 289 | return value |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | function normalizePreservedAnchorAttrs(attrs: string): string { |
| 294 | const cleanedAttrs = attrs |