Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Jan 8, 2025
1 parent 7f9ac8c commit 1a9dc16
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ext/js/language/la/latin-text-preprocessors.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@ export const processDiphtongs = {
case 'off':
return str;
case 'direct':
return str.replace(/æ/g, 'ae').replace(/Æ/g, 'AE').replace(/œ/g, 'oe').replace(/Œ/g, 'OE');
return str.replace(/æ/g, 'ae')
.replace(/Æ/g, 'AE')
.replace(/œ/g, 'oe')
.replace(/Œ/g, 'OE');
case 'inverse':
return str.replace(/ae/g, 'æ').replace(/AE/g, 'Æ').replace(/oe/g, 'œ').replace(/OE/g, 'Œ');
return str.replace(/ae/g, 'æ')
.replace(/AE/g, 'Æ')
.replace(/oe/g, 'œ')
.replace(/OE/g, 'Œ');
}
},
};

0 comments on commit 1a9dc16

Please sign in to comment.