diff --git a/plugins/pygments_code.rb b/plugins/pygments_code.rb index 8542aab..73ea7b0 100644 --- a/plugins/pygments_code.rb +++ b/plugins/pygments_code.rb @@ -66,7 +66,7 @@ module HighlightCode end def captionize (caption, url, anchor) - figcaption = "
#{caption.strip} " + figcaption = "
#{caption}" figcaption += "#{anchor.strip || 'link'}" if url figcaption += "
" end