(text)
| 279 | |
| 280 | // Helper function to escape HTML |
| 281 | function escapeHtml(text) { |
| 282 | const div = document.createElement("div"); |
| 283 | div.textContent = text; |
| 284 | return div.innerHTML; |
| 285 | } |
| 286 | |
| 287 | // Helper function to download video |
| 288 | function downloadVideo(item, button) { |
no test coverage detected