index: release v1.18 with only altgr index linked
[sheet.git] / latinsample.js
index a120c662c6c683ca04419600db0e27cc0aa1ed69..846e5004fa97a9b8529c9251c929dcef7006521e 100644 (file)
@@ -44,10 +44,12 @@ function appendsample() {
                                output += cols[col].split(' ')[final ? 1 : 0];
                        }
                        else if (col < cols.length) {
-                               output += '<span>' + (cols[col] || ' ') + '</span>';
+                               var final = cols[col] || ' ';
+                               if (!/^<svg/.test(cols[col])) final = `<span>${final}</span>`;
+                               output += final;
                        }
                        else {
-                               output += ' ';
+                               output += '<b> </b>';
                        }
                        if (row.parentNode.tagName == 'THEAD') {
                                output += col < 26 ? ' ' : 'ยท '; // number separator