summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-10-05 14:35:04 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2008-10-05 14:35:04 +0200
commit5e5eece65ccb0f844a6f939aa81ed502d076a13c (patch)
treeff5956ce96b48c17af5958f09b933aa154365502
parent7db57248701104979e6d5ea2a67d2aaf7808965c (diff)
downloadtrivium-5e5eece65ccb0f844a6f939aa81ed502d076a13c.tar.gz
trivium-5e5eece65ccb0f844a6f939aa81ed502d076a13c.tar.xz
trivium-5e5eece65ccb0f844a6f939aa81ed502d076a13c.zip
Fix SpanBlueCloth
-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