(s = '')
| 19 | const HOSTNAME = hostname(); |
| 20 | |
| 21 | function escapeAttribute(s = '') { |
| 22 | return escapeContent(RegExpPrototypeSymbolReplace(/"/g, RegExpPrototypeSymbolReplace(/\n/g, s, ' '), '"')); |
| 23 | } |
| 24 | |
| 25 | function escapeContent(s = '') { |
| 26 | return RegExpPrototypeSymbolReplace(/</g, RegExpPrototypeSymbolReplace(/(&)(?!#\d{1,7};)/g, s, '&'), '<'); |
no test coverage detected