first commit

This commit is contained in:
Patrick
2026-05-01 20:02:13 +02:00
commit 75fb753fc0
77 changed files with 4793 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
// ═══════════════════════════════════════════════════════
// HTML Entities
// ═══════════════════════════════════════════════════════
async function htmlEntOp(op) {
const text = document.getElementById('htmlEntInput').value;
if (!text) return setStatus('htmlEntStatus','error','Enter text.');
const d = await apiPost('/api/html/' + op, { text });
if (d.success) { document.getElementById('htmlEntOutput').value = d.result; setStatus('htmlEntStatus','success', op === 'encode' ? 'Encoded ✓' : 'Decoded ✓'); }
else setStatus('htmlEntStatus','error', d.error);
}