Sha256: 2017ab26cd60fd0996836b2de3e3c67ef424c7bbdf681a37e73acd95695dbff1

Contents?: true

Size: 551 Bytes

Versions: 24

Compression:

Stored size: 551 Bytes

Contents

require_relative "html_function/comments.rb"
require_relative "html_function/footnotes.rb"
require_relative "html_function/html.rb"

module IsoDoc
  class HtmlConvert < ::IsoDoc::Convert

    include HtmlFunction::Comments
    include HtmlFunction::Footnotes
    include HtmlFunction::Html

    def tmpimagedir_suffix
      "_htmlimages"
    end

    def convert(filename, file = nil, debug = false)
      ret = super
      Dir.exists?(tmpimagedir) and Dir["#{tmpimagedir}/*"].empty? and
        FileUtils.rm_r tmpimagedir
      ret
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
isodoc-1.0.13 lib/isodoc/html_convert.rb
isodoc-1.0.12 lib/isodoc/html_convert.rb
isodoc-1.0.11 lib/isodoc/html_convert.rb
isodoc-1.0.10 lib/isodoc/html_convert.rb
isodoc-1.0.9 lib/isodoc/html_convert.rb
isodoc-1.0.8 lib/isodoc/html_convert.rb
isodoc-1.0.7 lib/isodoc/html_convert.rb
isodoc-1.0.6 lib/isodoc/html_convert.rb
isodoc-1.0.5 lib/isodoc/html_convert.rb
isodoc-1.0.4 lib/isodoc/html_convert.rb
isodoc-1.0.3 lib/isodoc/html_convert.rb
isodoc-1.0.2 lib/isodoc/html_convert.rb
isodoc-1.0.1 lib/isodoc/html_convert.rb
isodoc-1.0.0 lib/isodoc/html_convert.rb
isodoc-0.10.4 lib/isodoc/html_convert.rb
isodoc-0.10.3 lib/isodoc/html_convert.rb
isodoc-0.10.2 lib/isodoc/html_convert.rb
isodoc-0.10.1 lib/isodoc/html_convert.rb
isodoc-0.10.0 lib/isodoc/html_convert.rb
isodoc-0.9.23 lib/isodoc/html_convert.rb