Fix css selector for Asciidoctor h1 html ouptput
This commit is contained in:
@@ -138,7 +138,7 @@ module Precious
|
|||||||
def find_header_node(doc)
|
def find_header_node(doc)
|
||||||
case @page.format
|
case @page.format
|
||||||
when :asciidoc
|
when :asciidoc
|
||||||
doc.css("div#gollum-root > div#header > h1:first-child")
|
doc.css("div#gollum-root > h1:first-child")
|
||||||
when :org
|
when :org
|
||||||
doc.css("div#gollum-root > p.title:first-child")
|
doc.css("div#gollum-root > p.title:first-child")
|
||||||
when :pod
|
when :pod
|
||||||
|
|||||||
Reference in New Issue
Block a user