 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source', 'track', 'wbr'];

            if (!selfClosingTags.includes(tagName)) {
              // Check if the tag closes on the same line
              if (!line.includes(`</${tagName}>`)) {
                indentLevel++;
              }
            }
          }
        }
      }

      return result.join('\n');
    }

    // Listen for messages from iframe with rendered HTML
    window.addEventListener('message', (event) => {
      if (event.data.