Module: RD::RD2HTMLExtVisitor::HeadElement
- Defined in:
- lib/rd/rd2html-ext-lib.rb
Instance Method Summary collapse
Instance Method Details
#html_head ⇒ Object
247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
# File 'lib/rd/rd2html-ext-lib.rb', line 247 def html_head ret = %|<head>\n| ret << html_title + "\n" ret << html_content_type + "\n" if html_content_type ret << link_to_css + "\n" if link_to_css ret << forward_links + "\n" if forward_links ret << backward_links + "\n" if backward_links if self.head ret << self.head + "\n" else ret << %Q[<!-- head-element:nil -->\n] end ret << %Q[</head>] end |