about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMorgan Astra <givengravity@gmail.com>2019-01-23 23:22:42 -0800
committerGitHub <noreply@github.com>2019-01-23 23:22:42 -0800
commit569b64acbab4c73130e64d93c9541a2572b92bea (patch)
tree8a038da68964473245fc683b1a681500a10328fa
parente25fc1f99e3bfb3aa29b1534b78c8217bb4bc1bd (diff)
parentd5d49aee67b19dc24f87222f9f92dae196df9560 (diff)
Merge pull request #97 from nsuchy/master
Specify an UTF-8 Charset and use an html special character to avoid a malformed tag error in the footer
-rw-r--r--src/pronouns/pages.clj6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj
index 283a34b..3e4e76f 100644
--- a/src/pronouns/pages.clj
+++ b/src/pronouns/pages.clj
@@ -111,7 +111,7 @@
          (href "https://www.gnu.org/licenses/agpl.html" "AGPLv3")
          "! visit the project on "
          (href "https://github.com/witch-house/pronoun.is" "github")]
-     [:p "<3"]]))
+     [:p "&lt;3"]]))
 
 (defn footer-block []
   [:footer (usage-block) (contact-block)])
@@ -126,6 +126,7 @@
       [:head
        [:title title]
        [:meta {:name "viewport" :content "width=device-width"}]
+       [:meta {:charset "utf-8"}]
        [:meta {:name "description" :content (u/strip-markup examples)}]
        [:meta {:name "twitter:card" :content "summary"}]
        [:meta {:name "twitter:title" :content title}]
@@ -164,6 +165,7 @@
       [:head
        [:title title]
        [:meta {:name "viewport" :content "width=device-width"}]
+       [:meta {:charset "utf-8"}]
        [:link {:rel "stylesheet" :href "/pronouns.css"}]]
       [:body
        (header-block title)
@@ -183,6 +185,7 @@
       [:head
        [:title title]
        [:meta {:name "viewport" :content "width=device-width"}]
+       [:meta {:charset "utf-8"}]
        [:link {:rel "stylesheet" :href "/pronouns.css"}]]
       [:body
        (header-block title)
@@ -199,6 +202,7 @@
       [:head
        [:title title]
        [:meta {:name "viewport" :content "width=device-width"}]
+       [:meta {:charset "utf-8"}]
        [:link {:rel "stylesheet" :href "/pronouns.css"}]]
       [:body
        (header-block title)