Sha256: 2df6cb3e6e4f2ad59cce5c3d5d02fb3acfdc40c78560f2e7203a4b0f3d741057
Contents?: true
Size: 363 Bytes
Versions: 9
Compression:
Stored size: 363 Bytes
Contents
class FormatBlockquote < ClWiki::CustomFormatter def FormatBlockquote.match_re /\[\].*\[\/\]/m end def FormatBlockquote.format_content(content, page) if content content.gsub!(/\[\]/, "<blockquote>") content.gsub!(/\[\/\]/, "</blockquote>") content end end end ClWiki::CustomFormatters.instance.register(FormatBlockquote)
Version data entries
9 entries across 9 versions & 1 rubygems