lib/docparser/output/html_output.rb in docparser-0.1.3 vs lib/docparser/output/html_output.rb in docparser-0.1.4

- old
+ new

@@ -3,42 +3,41 @@ # The XLSXOutput class generates an HTML file containing a table # @see Output class HTMLOutput < Output # @!visibility private HTMLHEADER = <<-EOS -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" - "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>HTML output "#FILENAME#"</title> +<meta charset="utf-8"> <style type="text/css"> body { - font-family:"Helvetica Neue", Helvetica, Sans-Serif; + font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; font-size:12px; } table { -border:1px solid #69c; -border-collapse:collapse; -font-size:12px; -text-align:left; -width:480px; + border:1px solid #69c; + border-collapse:collapse; + font-size:12px; + text-align:left; + width:480px; } th { -border-bottom:1px dashed #69c; -color:#039; -font-size:14px; -font-weight:normal; -padding:12px 17px; + border-bottom:1px dashed #69c; + color:#039; + font-size:14px; + font-weight:normal; + padding:12px 17px; } td { -color:#669; -padding:7px 17px; -white-space: pre; + color:#669; + padding:7px 17px; + white-space: pre; } tbody tr:hover td { -background:#d0dafd; -color:#339; + background:#d0dafd; + color:#339; } tbody tr:nth-child(even) { background:#e0eaff; } </style> \ No newline at end of file