Commits

Cédric Bonhomme committed 1f15038

Added HTML5 doctype.

  • Participants
  • Parent commits bef6a40

Comments (0)

Files changed (1)

 
 func printHTML(quote Quote) {
     os.Stdout.WriteString("Content-Type: text/plain;charset=us-ascii\n\n")
-    os.Stdout.WriteString("<html>\n<head>\n<title>GoQuotes</title>\n</head>\n")
+    os.Stdout.WriteString("<!DOCTYPE html>\n<html>\n<head>\n<title>GoQuotes</title>\n</head>\n")
     os.Stdout.WriteString("<body>\n")
     os.Stdout.WriteString("Citation: \"" + quote.Citation + "\"<br />\n")
     os.Stdout.WriteString("Author: \"" + quote.Author + "\"<br />\n")