lib/rabbit/theme/default-preformatted/default-preformatted.rb in rabbit-2.1.2 vs lib/rabbit/theme/default-preformatted/default-preformatted.rb in rabbit-2.1.3
- old
+ new
@@ -16,10 +16,13 @@
@preformatted_centering = true
end
match("**", PreformattedBlock) do |blocks|
name = "preformatted-block"
-
+
+ blocks.prop_set("size", @normal_font_size)
+ set_font_family(blocks, @monospace_font_family)
+
blocks.horizontal_centering = @preformatted_centering
params = {
:proc_name => name,
:frame_color => @preformatted_frame_color,