Added meta tag to the generate html head for utf-8 support

This commit is contained in:
fogus 2011-01-05 12:59:08 -05:00
parent 8b3ab21e85
commit f10fa0456d
2 changed files with 4 additions and 4 deletions

View file

@ -253,8 +253,7 @@
(println)))))
(defn -main
"main docstring
Multi line"
"The main entry point into Marginalia."
[& sources]
(run-marginalia sources))
@ -270,5 +269,5 @@
;; Move these to tests
(merge-line {:docstring-text "hello world" :line 3} {:docs ["stuff"]})
(merge-line {:code-text "(defn asdf" :line 4} {:docs ["stuff"]})
(merge-line {:docs-text "There's only one method in this module", :line 4} {}))
(merge-line {:docs-text "There's only one method in this module", :line 4} {})
)

View file

@ -356,6 +356,7 @@
(doctype :html5)
[:html
[:head
[:meta {:http-equiv "Content-Type" :content "text/html" :charset "utf-8"}]
(inline-js "jquery-1.4.4.min.js")
(inline-js "xregexp-min.js")
(inline-js "shCore.js")