else if (cols[28] && i && col == input.charCodeAt(i - 1) - 64) {
col = 28; // repetition char
}
-
- if (col < cols.length) {
+ if (row.id == 'suetterlin' && col == 19) {
+ var final = input.length == i + 1 || input[i + 1] == ' ';
+ output += cols[col].split(' ')[final ? 1 : 0];
+ }
+ else if (col < cols.length) {
output += '<span>' + (cols[col] || ' ') + '</span>';
}
else {
- output += ' ';
+ output += '<b> </b>';
}
if (row.parentNode.tagName == 'THEAD') {
output += col < 26 ? ' ' : 'ยท '; // number separator
}
if (cols[29] && !cols[28]) {
// circumfix sign if no repetition
- output = cols[29] + output + cols[29];
+ output = cols[29] + output + (cols[30] || cols[29]);
}
samplecol.innerHTML = output;
}