Align symbol for reStructuredText with github-markup (#1406)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
mediawiki: 'text',
|
||||
bib: 'latex',
|
||||
org: 'text',
|
||||
rest: 'rst',
|
||||
rst: 'rst',
|
||||
txt: 'text',
|
||||
pod: 'text',
|
||||
rdoc: 'rdoc',
|
||||
|
||||
@@ -209,7 +209,7 @@ module Precious
|
||||
doc.css("div#gollum-root > h1:first-child")
|
||||
when :pod
|
||||
doc.css("div#gollum-root > a.dummyTopAnchor:first-child + h1")
|
||||
when :rest
|
||||
when :rst
|
||||
doc.css("div#gollum-root > div > div > h1:first-child")
|
||||
else
|
||||
doc.css("div#gollum-root > h1:first-child")
|
||||
|
||||
Reference in New Issue
Block a user