Sha256: 940b69781e5628631ace7183123fa94ba5b8e89f7f0129e294f7677b0a8c04c4

Contents?: true

Size: 506 Bytes

Versions: 19

Compression:

Stored size: 506 Bytes

Contents

require "sterile"

module Relaton
  module Render
    module Template
      module Ascii
        def ascii(ret)
          ret.transliterate
        end
      end
    end
  end
end

module Relaton
  module Render
    module Ietf
      module Template
        class Name < ::Relaton::Render::Template::Name
          def customise_liquid
            super
            ::Liquid::Template
              .register_filter(::Relaton::Render::Template::Ascii)
          end
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
metanorma-ietf-3.4.3 lib/relaton/render/template.rb
metanorma-ietf-3.4.2 lib/relaton/render/template.rb
metanorma-ietf-3.4.0 lib/relaton/render/template.rb
metanorma-ietf-3.3.10 lib/relaton/render/template.rb
metanorma-ietf-3.3.9 lib/relaton/render/template.rb
metanorma-ietf-3.3.8 lib/relaton/render/template.rb
metanorma-ietf-3.3.7 lib/relaton/render/template.rb
metanorma-ietf-3.3.6 lib/relaton/render/template.rb
metanorma-ietf-3.3.5 lib/relaton/render/template.rb
metanorma-ietf-3.3.4 lib/relaton/render/template.rb
metanorma-ietf-3.3.3 lib/relaton/render/template.rb
metanorma-ietf-3.3.2 lib/relaton/render/template.rb
metanorma-ietf-3.3.1 lib/relaton/render/template.rb
metanorma-ietf-3.3.0 lib/relaton/render/template.rb
metanorma-ietf-3.2.7 lib/relaton/render/template.rb
metanorma-ietf-3.2.6 lib/relaton/render/template.rb
metanorma-ietf-3.2.5 lib/relaton/render/template.rb
metanorma-ietf-3.2.4 lib/relaton/render/template.rb
metanorma-ietf-3.2.3 lib/relaton/render/template.rb