Small update (#3894)

* Update

* Update

* Move section

* Fix
This commit is contained in:
Hugo
2025-08-08 23:26:05 +01:00
committed by GitHub
parent 0b470de961
commit d861f13aa8
6 changed files with 20 additions and 19 deletions

View File

@@ -108,7 +108,7 @@ export function transform(text: string): string {
.replace(/.25B7_/g, '')
.replace(/_?\.2F_?/g, '-')
.replace(/_?.26amp.3B_?/g, '-')
.replace(/(?<=r\/FREEMEDIA.+)2(?=\))/g, '-1')
.replace(/(?<=r\/FREEMEDIA.+_[a-z]+)2(?=\))/g, '-1')
.replace(/(?<=r\/FREEMEDIA.+)\.(?=[a-z]+_)/g, '-')
// Transform reddit index links