Class: Redcarpet::Render::XHTML

Inherits:
HTML
  • Object
show all
Defined in:
lib/redcarpet.rb

Overview

XHTML Renderer

Instance Method Summary collapse

Constructor Details

#initialize(extensions = {}) ⇒ XHTML

Returns a new instance of XHTML.



15
16
17
# File 'lib/redcarpet.rb', line 15

def initialize(extensions = {})
  super(extensions.merge(xhtml: true))
end