@evanp/activitypub-bot 0.46.1 → 0.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,12 @@ and this project adheres to
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [0.46.2] - 2026-05-25
13
+
14
+ ### Fixed
15
+
16
+ - Over-escaped URLs in Transformer.transform()
17
+
12
18
  ## [0.46.1] - 2026-05-25
13
19
 
14
20
  ### Fixed
@@ -42,8 +42,7 @@ export class Transformer {
42
42
  const segment = segments[i]
43
43
  if (this.#isLink(segment)) continue
44
44
  segments[i] = segment.replace(url, (match) => {
45
- const escaped = this.#escape(match)
46
- return `<a href="${escaped}">${escaped}</a>`
45
+ return `<a href="${match}">${match}</a>`
47
46
  })
48
47
  }
49
48
  return { html: segments.join(''), tag }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evanp/activitypub-bot",
3
- "version": "0.46.1",
3
+ "version": "0.46.2",
4
4
  "description": "server-side ActivityPub bot framework",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",