fix: fixed build error
96d0506b
2 file(s) · +4 −4
| 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 |
| 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 |