X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/580c94fe302ac013bd28007a5dd0be55fb3e49e8..133e96335267b12bb7e97d9bbe551a3a043bd32a:/latinsample.js?ds=inline
diff --git a/latinsample.js b/latinsample.js
index 57e82fc..846e500 100644
--- a/latinsample.js
+++ b/latinsample.js
@@ -39,17 +39,25 @@ 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 (!/^