X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/ecafe82fb6cb293e9cf45a6a2f6474858f429221..f0e54f5c656399310da44b5d226931f7e150f19d:/latinsample.js?ds=sidebyside
diff --git a/latinsample.js b/latinsample.js
index 37d3231..846e500 100644
--- a/latinsample.js
+++ b/latinsample.js
@@ -39,12 +39,17 @@ function appendsample() {
else if (cols[28] && i && col == input.charCodeAt(i - 1) - 64) {
col = 28; // repetition char
}
-
- if (col < cols.length) {
- output += '' + (cols[col] || ' ') + '';
+ 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) {
+ var final = cols[col] || ' ';
+ if (!/^