diff --git a/lib/metanorma/plugin/lutaml/liquid/custom_filters.rb b/lib/metanorma/plugin/lutaml/liquid/custom_filters.rb index 124b171..2153c7f 100644 --- a/lib/metanorma/plugin/lutaml/liquid/custom_filters.rb +++ b/lib/metanorma/plugin/lutaml/liquid/custom_filters.rb @@ -1,5 +1,5 @@ require "coradoc" -require "coradoc/reverse_adoc" +require "coradoc/input/html" module Metanorma module Plugin @@ -7,7 +7,7 @@ module Lutaml module Liquid module CustomFilters def html2adoc(input) - Coradoc::ReverseAdoc.convert(input) + Coradoc::Input::HTML.convert(input) end def interpolate(input) diff --git a/lib/metanorma/plugin/lutaml/version.rb b/lib/metanorma/plugin/lutaml/version.rb index 6ba5f5d..3598897 100644 --- a/lib/metanorma/plugin/lutaml/version.rb +++ b/lib/metanorma/plugin/lutaml/version.rb @@ -1,7 +1,7 @@ module Metanorma module Plugin module Lutaml - VERSION = "0.7.6".freeze + VERSION = "0.7.7".freeze end end end diff --git a/metanorma-plugin-lutaml.gemspec b/metanorma-plugin-lutaml.gemspec index a785e8d..23e8021 100644 --- a/metanorma-plugin-lutaml.gemspec +++ b/metanorma-plugin-lutaml.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_dependency "asciidoctor" - spec.add_dependency "coradoc" + spec.add_dependency "coradoc", "~> 1.1.1" spec.add_dependency "expressir", "~> 1.4.0" spec.add_dependency "liquid" spec.add_dependency "lutaml", ">= 0.9.4"