aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language')
-rw-r--r--ext/js/language/ar/arabic-text-preprocessors.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/js/language/ar/arabic-text-preprocessors.js b/ext/js/language/ar/arabic-text-preprocessors.js
index 7adb39e9..6007d770 100644
--- a/ext/js/language/ar/arabic-text-preprocessors.js
+++ b/ext/js/language/ar/arabic-text-preprocessors.js
@@ -28,7 +28,12 @@ const optionalDiacritics = [
'\u064F', // Damma
'\u0650', // Kasra
'\u0651', // Shadda
- '\u0652' // Sukun
+ '\u0652', // Sukun
+ '\u0653', // Maddah
+ '\u0654', // Hamza Above
+ '\u0655', // Hamza Below
+ '\u0656', // Subscript Alef
+ '\u0670' // Dagger Alef
];
const diacriticsRegex = new RegExp(`[${optionalDiacritics.join('')}]`, 'g');