aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ctf_website/views/home.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ctf_website/views/home.clj b/src/ctf_website/views/home.clj
index 450d605..566a9ca 100644
--- a/src/ctf_website/views/home.clj
+++ b/src/ctf_website/views/home.clj
@@ -2,7 +2,7 @@
(:require [ctf-website.views.common :as common]
[noir.session :as session])
(:use [noir.core :only [defpage]]
- [hiccup.core :only [html]]))
+ [hiccup.core :only [h]]))
(defpage
"/" []
@@ -13,7 +13,7 @@
[:a {:href "login"} "Compete"]
[:form {:method "POST"
:action "flag"}
- [:p (str "Submit flag as " username ":")
+ [:p (str "Submit flag as " (h username) ":")
[:input {:type "text"
:name "flag"}]
[:input {:type "submit"