1/** 2 * Wraps the text before the first colon (":") in a bold span to improve 3 * readability and visual distinction in accordance with WCAG guidelines. 4 * 5 * Example: 6 * "Label: Value" â <span class="bold">Label</span><span class="normal">Value</span> 7 */ 8 9 10var elements = document.getElementsByClassName("tfaq"); 11if(elements) { 12 for (var i = 0; i < elements.length; i++) { 13 var el = elements[i]; 14 var text = el.innerText; 15 var textElement = text.split(":"); 16 var bold = '<span class="bold">' + textElement[0] + ':</span>'; 17 var normal = '<span class="normal"> ' + textElement[1] + '</span>'; 18 el.innerHTML = bold + normal; 19 } 20}
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.