summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-09-21 00:44:59 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2008-09-21 00:44:59 +0200
commita613e52c8cc33475242ab508438e967b3a447f4a (patch)
tree508ecaee60f47faefe1ca6b65be08c4e7dbb50dd
parentc74e32740099007414c42b2039b1d46523a679f5 (diff)
downloadtrivium-a613e52c8cc33475242ab508438e967b3a447f4a.tar.gz
trivium-a613e52c8cc33475242ab508438e967b3a447f4a.tar.xz
trivium-a613e52c8cc33475242ab508438e967b3a447f4a.zip
Nicer HTML
-rw-r--r--trivium.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/trivium.rb b/trivium.rb
index a4b991b..77d7fcf 100644
--- a/trivium.rb
+++ b/trivium.rb
@@ -33,6 +33,10 @@ class SpanBlueCloth < BlueCloth
   def apply_block_transforms(text, rs)
     text                        # we don't do blocks
   end
+
+  def to_html
+    super.strip
+  end
 end
 
 class InlineMath < String