Method: Erector::Widgets::Page#doctype

Defined in:
lib/erector/widgets/page.rb

#doctypeObject

Emit the Transitional doctype. TODO: allow selection from among different standard doctypes



105
106
107
108
# File 'lib/erector/widgets/page.rb', line 105

def doctype
  '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
end