We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d31926b commit 2d02a30Copy full SHA for 2d02a30
common29/terms.js
@@ -507,7 +507,11 @@ function findWords (reg) {
507
generatedTranscription = '' // if IPA has ␣ generate & store a transcription
508
if (itemArray[IPA]===' ␣ ') {
509
var termChars = [...itemArray[TERM]]
510
- for (t=1;t<termChars.length-1;t++) generatedTranscription += autoTranslitArray[termChars[t]]
+ for (t=1;t<termChars.length-1;t++) {
511
+ if (termChars[t] === ' ') generatedTranscription += ' '
512
+ else if (termChars[t] === '-') generatedTranscription += '-'
513
+ else generatedTranscription += autoTranslitArray[termChars[t]]
514
+ }
515
}
516
517
out += '<td class="tr ipaCol">'+itemArray[IPA]+'</td>'
0 commit comments