From 4bbb05a27c3e94060c7a432dae06a57e10066c21 Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Tue, 22 Dec 2020 01:22:39 -0500 Subject: [PATCH] Revert "allow both HTML and HTML fragment" because it broke the test suite --- CHANGES | 1 - bin/ronn | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 5ad92a2..5553140 100644 --- a/CHANGES +++ b/CHANGES @@ -8,7 +8,6 @@ Version 0.10.0 (2020 Dec 21) * Revert `\[ci]` back to `\(bu)` () * Minor fix to single-quote escaping () * Elide HTML comments when producing roff output () -* Allow outputting both HTML doc and HTML fragment in one run () * Bump to mustache 1.x Version 0.9.1 (2020 Apr 09) diff --git a/bin/ronn b/bin/ronn index 3a144f2..14b3741 100755 --- a/bin/ronn +++ b/bin/ronn @@ -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