Skip to content

Commit

Permalink
Revert "allow both HTML and HTML fragment" because it broke the test …
Browse files Browse the repository at this point in the history
…suite
  • Loading branch information
apjanke committed Dec 22, 2020
1 parent 0246fec commit 4bbb05a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Version 0.10.0 (2020 Dec 21)
* Revert `\[ci]` back to `\(bu)` (<https://github.com/apjanke/ronn-ng/pull/51>)
* Minor fix to single-quote escaping (<https://github.com/apjanke/ronn-ng/issues/55>)
* Elide HTML comments when producing roff output (<https://github.com/apjanke/ronn-ng/issues/65>)
* Allow outputting both HTML doc and HTML fragment in one run (<https://github.com/apjanke/ronn-ng/issues/60>)
* Bump to mustache 1.x

Version 0.9.1 (2020 Apr 09)
Expand Down
1 change: 1 addition & 0 deletions bin/ronn
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ 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 4bbb05a

Please # to comment.