X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/fd049eb294bf4536e0507a7591fd9be3a0567d9c..954f03c5c063a11ec3547f4760ffb06a78fe12e0:/latinsample.js diff --git a/latinsample.js b/latinsample.js index 406cac1..846e500 100644 --- a/latinsample.js +++ b/latinsample.js @@ -44,7 +44,9 @@ function appendsample() { output += cols[col].split(' ')[final ? 1 : 0]; } else if (col < cols.length) { - output += '' + (cols[col] || ' ') + ''; + var final = cols[col] || ' '; + if (!/^${final}`; + output += final; } else { output += ' ';