Selaa lähdekoodia

same fix as in 1.5.1. Color codes without # does not work in standard compliance mode.

tokul 19 vuotta sitten
vanhempi
commit
ae8720de3a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/options_highlight.php

+ 1 - 1
src/options_highlight.php

@@ -424,7 +424,7 @@ if ($action == 'edit' || $action == 'add') {
         $gridindex = "$y,$x";
         $gridcolor = $new_color_list[$gridindex];
         echo html_tag( 'td', addRadioBox('color_type', ($gridcolor == $current_color), '#'.$gridcolor),
-            'left', $gridcolor, 'colspan="2"' );
+            'left', '#'.$gridcolor, 'colspan="2"' );
         }
         echo "</tr>\n";
     }