Merge pull request #873 from Mogztter/issue-871
Fix css selector for Asciidoctor h1 html ouptput
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user