You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Doc: Fixed desktop changelog generation
This commit is contained in:
		| @@ -24,6 +24,10 @@ describe('build-release-stats', () => { | ||||
| 				'list (#8825) (#8194 by [@CptMeetKat](https://github.com/CptMeetKat))', | ||||
| 				'list ([#8825](https://github.com/laurent22/joplin/issues/8825)) ([#8194](https://github.com/laurent22/joplin/issues/8194) by [@CptMeetKat](https://github.com/CptMeetKat))', | ||||
| 			], | ||||
| 			[ | ||||
| 				'- Improved: Support for plural translations (#9033)', | ||||
| 				'- Improved: Support for plural translations ([#9033](https://github.com/laurent22/joplin/issues/9033))', | ||||
| 			], | ||||
| 		]; | ||||
|  | ||||
| 		for (const [input, expected] of testCases) { | ||||
|   | ||||
| @@ -64,7 +64,7 @@ function downloadCounts(release: GitHubRelease) { | ||||
| } | ||||
|  | ||||
| export const replaceGitHubInternalLinks = (body: string) => { | ||||
| 	body = body.replace(/#(\d+)(.{2})/g, (_match: string, v1: string, v2: string) => { | ||||
| 	body = body.replace(/#(\d+)(.{1,2}|)/g, (_match: string, v1: string, v2: string) => { | ||||
| 		if (v2.startsWith('](')) { | ||||
| 			// The issue number is already a link, so skip it | ||||
| 			return `#${v1}${v2}`; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user