Method: Rabbit::Parser::RD::Ext::InlineVerbatim#ext_inline_verb_del
- Defined in:
- lib/rabbit/parser/rd/ext/inline-verbatim.rb
#ext_inline_verb_del(label, source, content, visitor) ⇒ Object
41 42 43 44 45 |
# File 'lib/rabbit/parser/rd/ext/inline-verbatim.rb', line 41 def ext_inline_verb_del(label, source, content, visitor) label = label.to_s return nil unless /^del:(.*)$/ =~ label DeletedText.new(apply_inline_markup(visitor, $1)) end |