Class: ExceptionallyBeautiful::HtmlRenderer

Inherits:
Redcarpet::Render::HTML
  • Object
show all
Includes:
Redcarpet::Render::SmartyPants
Defined in:
lib/exceptionally_beautiful/html_renderer.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ HtmlRenderer

Returns a new instance of HtmlRenderer.



5
6
7
# File 'lib/exceptionally_beautiful/html_renderer.rb', line 5

def initialize(options = {})
  super options.merge(:hard_wrap => true, :filter_html => true)
end