lp');
                  let html = `<div>Visible corrections in rendered output: ${visibleCorrections.length}</div>`;

                  // Show first few corrections details
                  if (visibleCorrections.length > 0) {
                    html += '<div class="mt-2"><strong>First 5 correction details:</strong></div><ul>';
                    for (let i = 0; i < Math.min(5, visibleCorrections.length); i++) {
                      const el = visibleCorrections[i];
                      html += `<li 