lib/citeproc/ruby/renderer/format.rb in citeproc-ruby-1.1.10 vs lib/citeproc/ruby/renderer/format.rb in citeproc-ruby-1.1.11

- old
+ new

@@ -58,9 +58,10 @@ format_page_range!(pages.dup, format) end def format_page_range!(pages, format) return if pages.nil? + return pages if pages.empty? dash = translate('page-range-delimiter') || '–' # en-dash pages.gsub! PAGE_RANGE_PATTERN do affixes, f, t = [$1, $3, $4, $6], $2, $5