Class: FormatBlockquote
- Inherits:
-
ClWiki::CustomFormatter
- Object
- ClWiki::CustomFormatter
- FormatBlockquote
- Defined in:
- lib/cl_wiki/format/format.blockquote.rb
Class Method Summary collapse
Class Method Details
.format_content(content, page) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/cl_wiki/format/format.blockquote.rb', line 6 def FormatBlockquote.format_content(content, page) if content content.gsub!(/\[\]/, "<blockquote>") content.gsub!(/\[\/\]/, "</blockquote>") content end end |
.match_re ⇒ Object
2 3 4 |
# File 'lib/cl_wiki/format/format.blockquote.rb', line 2 def FormatBlockquote.match_re /\[\].*\[\/\]/m end |