INNER CODE UNIT · Python

escapeHtml

AgentSkillOS/SkillAnything · eval-viewer/generate_review.py:208

function escapeHtml(text) {{
  const div = document.createElement('div');
  div.textContent = text;
  return div.innerHTML;
}}

init();
</script>
</body>
</html>"""

    if output_path:
        output_path.parent.mkdir(parents=True, exist_ok=True)
        output_path.write_text(html)
        print(f"Review page written to {output_path}")

    return html

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…