lib/review/md2inaobuilder.rb in review-2.1.0 vs lib/review/md2inaobuilder.rb in review-2.2.0
- old
+ new
@@ -42,18 +42,9 @@
def dl_end
puts '</dl>'
end
- def comment(lines, comment = nil)
- lines ||= []
- lines.unshift comment unless comment.blank?
- str = lines.join("\n")
- puts '<span class="red">'
- puts str
- puts '</span>'
- end
-
def compile_ruby(base, ruby)
if base.length == 1
%Q[<span class='monoruby'>#{escape_html(base)}(#{escape_html(ruby)})</span>]
else
%Q[<span class='groupruby'>#{escape_html(base)}(#{escape_html(ruby)})</span>]