t.getElementById("corrected-text");
    if (!correctedTextElement) return;

    let content = correctedTextElement.innerHTML;

    // Process typo corrections << original | corrected >>
    content = content.replace(
      /&lt;&lt; ([^|]+) \| ([^&]+) &gt;&gt;/g,
      function (match, original, corrected) {
        return (
          '<span class="bg-red-100 line-through relative group cursor-help px-1" title="' +
          corrected +
          '">' +
          original +
          '<span class="absolute 