https://github.com/aweirddev/thtml-escape
https://github.com/aweirddev/thtml-escape
escape html html-escape
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aweirddev/thtml-escape
- Owner: AWeirdDev
- Created: 2025-08-12T04:11:13.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-08-12T05:00:59.000Z (about 2 months ago)
- Last Synced: 2025-08-12T06:23:20.882Z (about 2 months ago)
- Topics: escape, html, html-escape
- Language: Rust
- Homepage: https://pypi.org/project/thtml-escape
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# thtml-escape
Dependency of `thtmlx` for (un)escaping HTML.
```python
from thtml_escape import encode, decodeprint(encode('" onmouseover="alert(1)'))
# " onmouseover="alert(1)print(decode('" onmouseover="alert(1)'))
```