fix: fixed build error 96d0506b
Steve · 2025-11-06 22:04 2 file(s) · +4 −4
TODO.md +2 −2
22 22
- [x] Fix long blog names on mobile in nav sidebar
23 23
- [x] YouTube feed support
24 24
- [x] Detect Categories in OPML
25 -
- [ ] CRUD categories
26 -
- [ ] Check broken html characters in post titles
25 +
- [x] CRUD categories
26 +
- [x] Check broken html characters in post titles
27 27
- [x] Update Author name to Blog Name in list of posts
28 28
- [ ] Fix mobile navigation through posts
29 29
- [ ] Add another relay
src/lib/feed-operations.ts +2 −2
48 48
	}
49 49
50 50
	// Handle numeric entities like ’
51 -
	decoded = decoded.replace(/&#(\d+);/g, (match, dec) => {
51 +
	decoded = decoded.replace(/&#(\d+);/g, (_match, dec) => {
52 52
		return String.fromCharCode(dec);
53 53
	});
54 54
55 55
	// Handle hex entities like '
56 -
	decoded = decoded.replace(/&#x([0-9a-f]+);/gi, (match, hex) => {
56 +
	decoded = decoded.replace(/&#x([0-9a-f]+);/gi, (_match, hex) => {
57 57
		return String.fromCharCode(parseInt(hex, 16));
58 58
	});
59 59