Sha256: 6758bd37d6eb4a91a72b2f43e7e2b0752f387dbe4847c3ac737fea9e9c487d2f

Contents?: true

Size: 263 Bytes

Versions: 8

Compression:

Stored size: 263 Bytes

Contents

module Gollum
  class Macro
    class Audio < Gollum::Macro
      def render (fname)
        "<audio width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"\"> HTML5 audio is not supported on this Browser.</audio>"
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gollum-lib-5.2.1-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.2.1 lib/gollum-lib/macro/audio.rb
gollum-lib-5.2-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.2 lib/gollum-lib/macro/audio.rb
gollum-lib-5.1.3-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.1.3 lib/gollum-lib/macro/audio.rb
gollum-lib-5.1.2-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.1.2 lib/gollum-lib/macro/audio.rb