add sanitize=False to all ui.html elements

This commit is contained in:
2025-10-05 21:04:10 +03:00
parent 883cfcc830
commit 7090cdd635
5 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -12,5 +12,5 @@ async def draw_header():
with ui.row(wrap=False).classes("items-center"):
if user := await check_user():
ui.html(f"<b>{user.username}</b>")
ui.html(f"<b>{user.username}</b>", sanitize=False)
ui.button(icon="logout", on_click=lambda: logout(redirect=True)).props("rounded")