Merge pull request #1373 from hirocaster/fix-h1-title-org-mode-for-ver5
Fix h1-title at org-mode
This commit is contained in:
@@ -186,8 +186,6 @@ module Precious
|
|||||||
case @page.format
|
case @page.format
|
||||||
when :asciidoc
|
when :asciidoc
|
||||||
doc.css("div#gollum-root > h1:first-child")
|
doc.css("div#gollum-root > h1:first-child")
|
||||||
when :org
|
|
||||||
doc.css("div#gollum-root > p.title:first-child")
|
|
||||||
when :pod
|
when :pod
|
||||||
doc.css("div#gollum-root > a.dummyTopAnchor:first-child + h1")
|
doc.css("div#gollum-root > a.dummyTopAnchor:first-child + h1")
|
||||||
when :rest
|
when :rest
|
||||||
|
|||||||
Reference in New Issue
Block a user