News for hackers. Stuff that matters.
Re:Show HN: Generate styled web pages with just Python by ashishsingal on Wednesday March 22, 2023 @08:59AM (#35260308)
there's "HTML (.add_html)" in the docs - "Renders raw HTML. This is meant to be an escape hatch for when you need to render something that isn't supported by PyVibe." I'm guessing this isn't sanitized and we trust the dev. After all, they can do "eval" in Python which is much riskier than raw HTML :)
Re:Show HN: Generate styled web pages with just Python by akx on Thursday March 23, 2023 @06:32AM (#35272572)
All of the components support rendering arbitrary HTML, which is exactly the problem.