index inline => native inline
# File lib/rd/rd2html-ext-lib.rb, line 113 def apply_to_Index(element, content) %Q[#{Delimiter}#{content}#{Delimiter}] end
# File lib/rd/rd2html-ext-lib.rb, line 101 def html_body(contents) html = super a = html.split(Delimiter) a.each_with_index do |s, i| if i % 2 == 1 meta_char_unescape!(s) end end a.join end
# File lib/rd/rd2html-ext-lib.rb, line 117 def meta_char_unescape!(str) str.gsub!(/(<|>|&)/) { METACHAR.index($&) } end