summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--trivium.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/trivium.rb b/trivium.rb
index cbe8a21..5d119f3 100644
--- a/trivium.rb
+++ b/trivium.rb
@@ -31,9 +31,8 @@ ENTRIES = Dir.glob("entries/*.entry").map { |x| Entry[x] }.
 Entry.values.each { |v| Entry[v[:id]] = v }
 
 class SpanBlueCloth < BlueCloth
-  def apply_block_transforms(text, rs)
-    text                        # we don't do blocks
-  end
+  # Don't do block transforms.
+  alias apply_block_transforms apply_span_transforms
 
   def to_html
     super.rstrip