diff --git a/src/scripts/services/ariaNgLanguageLoader.js b/src/scripts/services/ariaNgLanguageLoader.js index 99aec37..8a6b2d7 100644 --- a/src/scripts/services/ariaNgLanguageLoader.js +++ b/src/scripts/services/ariaNgLanguageLoader.js @@ -11,7 +11,7 @@ }; } } - + return { value: line }; @@ -64,6 +64,8 @@ continue; } + line = line.replace('\r', ''); + if (/^\[.+\]$/.test(line)) { currentCatagory = getCategory(langObj, line); continue;