Sha256: 7c118cc92398e700b3376618fdfbb89296f1474a1b912f1be2be457228f91173

Contents?: true

Size: 627 Bytes

Versions: 4

Compression:

Stored size: 627 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <% if @converter.root.options[:encoding] %>
    <meta http-equiv="Content-type" content="text/html;<%= @converter.root.options[:encoding] %>">
    <% end %>
<%
extend ::Kramdown::Utils::Html
title = ''
h = @converter.root.children.find {|c| c.type == :header}
if h
  collector = lambda {|c| c.children.collect {|cc| cc.type == :text ? escape_html(cc.value, :text) : collector.call(cc)}.join('')}
  title = collector.call(h)
end
%>
    <title><%= title %></title>
    <meta name="generator" content="kramdown <%= ::Kramdown::VERSION %>" />
  </head>
  <body>
  <%= @body %>
  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kramdown-1.3.2 data/kramdown/document.html
kramdown-1.3.1 data/kramdown/document.html
kramdown-1.3.0 data/kramdown/document.html
kramdown-1.2.0 data/kramdown/document.html