summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-12-24 20:20:37 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-24 20:20:37 +0100
commit53b930002b82d3103482f4c9080b2a89d0f4fa14 (patch)
tree1993098729b8a4b82ed84c57b8490fc81ca2caa5
parent51e40a0aa6e2e017e69206e29fd13a231db00f4d (diff)
html: Prevent invalid </input> tags from being generated.
-rw-r--r--mumi/web/view/html.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index def7477..7154585 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -557,10 +557,10 @@ failed to process associated messages.")
(method "POST"))
(input (@ (style "display:none")
(name "validation")
- (placeholder "Please leave this empty.")) "")
+ (placeholder "Please leave this empty.")))
(input (@ (type "hidden")
(name "timestamp")
- (value ,(timestamp!))) "")
+ (value ,(timestamp!))))
(div
(@ (class "avatar")
(style "background-color:#bc80bd")) "?")