Merge pull request #873 from Mogztter/issue-871

Fix css selector for Asciidoctor h1 html ouptput
This commit is contained in:
Dawa Ometto
2014-10-04 13:47:26 +02:00
+1 -1
View File
@@ -138,7 +138,7 @@ module Precious
def find_header_node(doc)
case @page.format
when :asciidoc
doc.css("div#gollum-root > div#header > h1:first-child")
doc.css("div#gollum-root > h1:first-child")
when :org
doc.css("div#gollum-root > p.title:first-child")
when :pod