Pytml

Pytml is a 15KB lightweight PyScript alternative — run Python in HTML with one script tag.

git clone https://github.com/notamitgamer/Pytml.git
· rebuilt hourlyOpen on GitHub
commit 8f44c86d68d15078f5bd735df874e3b79774656f
parent 21ce7bcad1deeb080c98f7abb679cbcb9cd17842
Author: ASWANTH R <aswanthr82@gmail.com>
Date:   Mon, 19 Oct 2026 17:26:36 +0530

Update security note formatting in README.md
Diffstat:
MREADME.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -150,5 +150,5 @@ Pytml is open-source under the Apache 2.0 License. **If you find Pytml useful, consider giving it a star on GitHub!** ## Security Note: -Pytml defaults to using element.text, which uses the browser's textContent API. This means it is 100% secure against Cross-Site Scripting (XSS) attacks. -If you must use element.html to render raw HTML, never pass untrusted user input directly into it. Use the built-in pytml.escape() helper to sanitize the input first. +Pytml defaults to using `element.text`, which uses the browser's textContent API. This means it is 100% secure against ***Cross-Site Scripting (XSS) attacks***. +If you must use element.html to render raw HTML, never pass untrusted user input directly into it. Use the built-in `pytml.escape()` helper to sanitize the input first.