Skip to content

Commit

Permalink
Allow writing both html and html_fragment
Browse files Browse the repository at this point in the history
This check was introduced in e672a0f
with no explanation

Closes apjanke#60
  • Loading branch information
nabijaczleweli committed Sep 25, 2020
1 parent b98bc1c commit 2184b1f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/ronn
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ elsif build
formats ||= %w[roff html]
end
formats ||= []
formats.delete('html') if formats.include?('html_fragment')

options['date'] &&= Date.strptime(options['date'], '%Y-%m-%d')
options['styles'] = styles
Expand Down

0 comments on commit 2184b1f

Please sign in to comment.