(ch)
| 41 | if (epub) chapters.push("hints") |
| 42 | |
| 43 | function escapeChar(ch) { |
| 44 | return ch == "<" ? "<" : ch == ">" ? ">" : ch == "&" ? "&" : """ |
| 45 | } |
| 46 | function escape(str) { return str.replace(/[<>&"]/g, escapeChar) } |
| 47 | |
| 48 | // FIXME http highlighting |
nothing calls this directly
no outgoing calls
no test coverage detected