Upstream spencermountain/compromise state of the touched files before 11b5faedbc

This commit is contained in:
upstream committed 2026-10-14 19:27:21 +02:00
1 parent f10373c4f7
commit 259bc70ea5
2 files changed
+63 -2

No files matched your search

+2 -2
View File
@@ -60,11 +60,11 @@ const html = function (obj) {
this.docs.forEach(terms => {
for (let i = 0; i < terms.length; i += 1) {
const t = terms[i]
out += t.pre || ''
// do a span tag, inside the pre-punctuation
// do a span tag
if (Object.hasOwn(starts, t.id)) {
out += starts[t.id].join('')
}
out += t.pre || ''
out += t.text || ''
if (Object.hasOwn(ends, t.id)) {
out += ends[t.id].join('')