diff --git a/crayon_formatter.class.php b/crayon_formatter.class.php index 9adf4c46..bd5a6372 100644 --- a/crayon_formatter.class.php +++ b/crayon_formatter.class.php @@ -111,7 +111,7 @@ public static function print_code($hl, $code, $line_numbers = TRUE, $print = TRU // TODO improve logic if ($hl->setting_val(CrayonSettings::FONT_SIZE_ENABLE)) { $_font_size = $hl->setting_val(CrayonSettings::FONT_SIZE); - $font_size = $_font_size . 'px !important;'; + $font_size = $_font_size; $_line_height = $hl->setting_val(CrayonSettings::LINE_HEIGHT); // Don't allow line height to be less than font size $line_height = ($_line_height > $_font_size ? $_line_height : $_font_size) . 'px !important;';