diff --git a/CHANGES b/CHANGES index af5c633..d163de0 100644 --- a/CHANGES +++ b/CHANGES @@ -37,6 +37,7 @@ SVN HEAD Add support for Load Reduced DIMM (LRDIMM) DDR3 modules Fully decode the DDR3 SDRAM Device Type field Encode "degrees" to HTML degree symbol + Generate HTML 4.01 compliant markup i2cdetect: Do a best effort detection if functionality is missing Clarify the SMBus commands used for probing by default i2c-dev.h: Minimize differences with kernel flavor diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index 7792cdb..eb7900e 100755 --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -490,14 +490,16 @@ sub real_printl($$) # print a line w/ label and values } } -sub printl2($$) # print a line w/ label and value (outside a table) +sub printl2 # print a line w/ label and value (outside a table) { - my ($label, $value) = @_; + my ($label, $value, $style) = @_; if ($opt_html) { $label = html_encode($label); $value = html_encode($value); + print ""; } print "$label: $value\n"; + print "

\n" if $opt_html; } sub real_prints($) # print separator w/ given text @@ -2165,7 +2167,7 @@ if (!$opt_igncheck) { if ($opt_html && !$opt_bodyonly) { - print "\n", + print "\n", "\n", "\t\n", "\tPC DIMM Serial Presence Detect Tester/Decoder Output\n", @@ -2350,9 +2352,8 @@ for $current (0 .. $#dimm) { if ($opt_side_by_side) { print "\n\n"; } else { - print "" if $opt_html; - printl2("\n\nDecoding EEPROM", $dimm[$current]->{file}); - print "" if $opt_html; + printl2("\n\nDecoding EEPROM", $dimm[$current]->{file}, + "text-decoration: underline; font-weight: bold;"); } print "\n" if $opt_html;