git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keyboard: uniform title syntax
[sheet.git]
/
latinsample.js
diff --git
a/latinsample.js
b/latinsample.js
index 406cac12cdb355f3dd38070c9ccf7172ead633ec..846e5004fa97a9b8529c9251c929dcef7006521e 100644
(file)
--- 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].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 += '<b> </b>';
}
else {
output += '<b> </b>';