1/** 2 * KomeKaigi å ±éã¦ã¼ãã£ãªãã£é¢æ° 3 */ 4 5/** 6 * HTMLã¨ã¹ã±ã¼ãå¦ç 7 * @param {string} text - ã¨ã¹ã±ã¼ãããããã¹ã 8 * @returns {string} ã¨ã¹ã±ã¼ããããããã¹ã 9 */ 10function escapeHtml(text) { 11 if (text == null) return ''; 12 13 const map = { 14 '&': '&', 15 '<': '<', 16 '>': '>', 17 '"': '"', 18 "'": ''' 19 }; 20 21 return String(text).replace(/[&<>"']/g, m => map[m]); 22} 23
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.