aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-14 21:50:03 +0200
committerMichał Górny <mgorny@gentoo.org>2017-10-12 22:47:59 +0200
commita79b0ff83d1a4c94f8841ce3f6dcee5fd9b6946b (patch)
tree5d1b6426595ce0fd4d81db322ed887ccb7d711ee /_plugins/gleps.rb
parentglep: Include full metadata on top (diff)
downloadwww-a79b0ff83d1a4c94f8841ce3f6dcee5fd9b6946b.tar.gz
www-a79b0ff83d1a4c94f8841ce3f6dcee5fd9b6946b.tar.bz2
www-a79b0ff83d1a4c94f8841ce3f6dcee5fd9b6946b.zip
glep: Fix initial-header-level
Diffstat (limited to '_plugins/gleps.rb')
-rw-r--r--_plugins/gleps.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/_plugins/gleps.rb b/_plugins/gleps.rb
index 79ac6a2..abd2576 100644
--- a/_plugins/gleps.rb
+++ b/_plugins/gleps.rb
@@ -55,7 +55,8 @@ module Gentoo
@replacedby = $1 if line =~ /^Replaced-By: (.*)$/
break if line.chomp.empty?
end
- @content = RbST.new(lines.join('')).to_html
+ @content = RbST.new(lines.join('')).to_html(
+ 'initial-header-level' => 2)
glep_data = {
'number' => @number,