Fix page titles for non markdown formats

This commit is contained in:
Arran Cudbard-Bell
2013-02-04 16:12:41 -05:00
parent e7e8a17b61
commit 2a3d51c7dc
+1 -1
View File
@@ -116,7 +116,7 @@ module Precious
# Finds header node inside Nokogiri::HTML document.
#
def find_header_node(doc)
case self.format
case @page.format
when :asciidoc
doc.css("div#gollum-root > div#header > h1:first-child")
when :org