aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language/ar/arabic-text-preprocessors.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language/ar/arabic-text-preprocessors.js')
-rw-r--r--ext/js/language/ar/arabic-text-preprocessors.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/language/ar/arabic-text-preprocessors.js b/ext/js/language/ar/arabic-text-preprocessors.js
index 91535ccd..576febee 100644
--- a/ext/js/language/ar/arabic-text-preprocessors.js
+++ b/ext/js/language/ar/arabic-text-preprocessors.js
@@ -33,7 +33,7 @@ const optionalDiacritics = [
'\u0654', // Hamza Above
'\u0655', // Hamza Below
'\u0656', // Subscript Alef
- '\u0670' // Dagger Alef
+ '\u0670', // Dagger Alef
];
const diacriticsRegex = new RegExp(`[${optionalDiacritics.join('')}]`, 'g');
@@ -45,5 +45,5 @@ export const removeArabicScriptDiacritics = {
options: basicTextProcessorOptions,
process: (text, setting) => {
return setting ? text.replace(diacriticsRegex, '') : text;
- }
+ },
};