Method: MarkdownConverter#convert
- Defined in:
- lib/gitdocs/markdown_converter.rb
#convert(text) ⇒ Object
25 26 27 28 |
# File 'lib/gitdocs/markdown_converter.rb', line 25 def convert(text) text = text.force_encoding('utf-8') if text.respond_to?(:force_encoding) @converter.render(text) end |