(text)
| 797 | |
| 798 | // HTML 转义 |
| 799 | function escapeHtml(text) { |
| 800 | if (!text) return ''; |
| 801 | const div = document.createElement('div'); |
| 802 | div.textContent = text; |
| 803 | return div.innerHTML; |
| 804 | } |
| 805 | |
| 806 | // ============== 编辑功能 ============== |
| 807 |
no outgoing calls
no test coverage detected