1/* Make legacy editorial tables scroll locally without changing stored content. */ 2(function () { 3 var content = document.getElementById('newsContent'); 4 if (!content) return; 5 content.querySelectorAll('table').forEach(function (table) { 6 if (table.closest('.ht-table-wrap, .table-responsive, .card, .ht-embed') || table.parentElement.closest('table')) return; 7 var wrapper = document.createElement('div'); 8 wrapper.className = 'ht-table-wrap'; 9 wrapper.tabIndex = 0; 10 wrapper.setAttribute('role', 'region'); 11 wrapper.setAttribute('aria-label', table.caption ? table.caption.textContent : (document.documentElement.lang.indexOf('de') === 0 ? 'Tabelle' : 'Table')); 12 table.parentNode.insertBefore(wrapper, table); 13 wrapper.appendChild(table); 14 }); 15}());
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.