Skip to content

Commit

Permalink
Change generated HTML headers from XHTML to HTML5
Browse files Browse the repository at this point in the history
  • Loading branch information
jafingerhut committed Sep 11, 2016
1 parent 4dd6ee6 commit 6cb1380
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/clj-jvm/src/generator/core.clj
Expand Up @@ -1499,12 +1499,10 @@



(def html-header-before-title "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\">
(def html-header-before-title "<!doctype html>
<html lang=\"en\">
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=us-ascii\" />
<meta charset=\"utf-8\">
")

(defn inline-css [& {:keys [js?]}]
Expand Down

0 comments on commit 6cb1380

Please sign in to comment.