Sha256: f34ddc2b874d7016bcae4af957aeddb0773572337c7f147489b57926435aa962

Contents?: true

Size: 350 Bytes

Versions: 5

Compression:

Stored size: 350 Bytes

Contents

require 'rubygems'
module WLang
  class EncoderSet
    module RedClothEncoders
  
      # Default encoders  
      DEFAULT_ENCODERS = {"xhtml" => :xhtml_encoding}
  
      # RDoc encoding
      def self.xhtml_encoding(src, options)
        RedCloth.new(src).to_html
      end
  
    end # RedClothEncoders
  end # module EncoderSet
end # module WLang

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wlang-0.10.2 lib/wlang/dialects/redcloth_dialect.rb
wlang-0.10.1 ./lib/wlang/dialects/redcloth_dialect.rb
wlang-0.10.0 lib/wlang/dialects/redcloth_dialect.rb
wlang-0.9.2 lib/wlang/dialects/redcloth_dialect.rb
wlang-0.9.1 lib/wlang/dialects/redcloth_dialect.rb