Skip to content

Commit

Permalink
Merge pull request witch-house#97 from nsuchy/master
Browse files Browse the repository at this point in the history
Specify an UTF-8 Charset and use an html special character to avoid a malformed tag error in the footer
  • Loading branch information
morganastra authored Jan 24, 2019
2 parents e25fc1f + d5d49ae commit 569b64a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pronouns/pages.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)])
Expand All @@ -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}]
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 569b64a

Please sign in to comment.