asciidoctor-html 2.3.5 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,9 +69,9 @@ module Asciidoctor
69
69
  def self.toggle_button(pagestyle)
70
70
  states = {
71
71
  single: "single page view",
72
- multi: "multipage view",
73
- presentation: "presentation view (ESC to exit)"
72
+ multi: "multipage view"
74
73
  }
74
+ states[:presentation] = "presentation view (ESC to exit)" if pagestyle == :presentation
75
75
  alternate_states = states.map do |key, value|
76
76
  <<~HTML
77
77
  <li>
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module Html
5
- VERSION = "2.3.5"
5
+ VERSION = "2.4.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-html
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Rajani