Skip to content

Commit 3c6ffaf

Browse files
committed
Initialise the HTML renderer options
This avoids the warnings of a missing options instance variable. Presumably this is because we passed in the class instead of a new instance of it.
1 parent 581910c commit 3c6ffaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/docurium.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def update_globals!(data, recs)
421421

422422
file_map = {}
423423

424-
md = Redcarpet::Markdown.new Redcarpet::Render::HTML, :no_intra_emphasis => true
424+
md = Redcarpet::Markdown.new(Redcarpet::Render::HTML.new({}), :no_intra_emphasis => true)
425425
recs.each do |r|
426426

427427
# initialize filemap for this file

0 commit comments

Comments
 (0)