Skip to content

Commit e90eee0

Browse files
committed
toplevel/rss: fix subheadings
1 parent 6143f04 commit e90eee0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/clayoven/toplevel.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ def self.generate_rss(content_pages, lastmod)
369369
.map { |p|
370370
if p.type == :codeblock
371371
"<pre>" + p + "</pre>"
372+
elsif p.type == :subheading
373+
"<h2>" + p + "</h2>"
372374
else
373375
"<p>" + p + "</p>"
374376
end

0 commit comments

Comments
 (0)