diff --git a/.gitignore b/.gitignore index 4e4de6d..4d94290 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ .rubocop-https--* /.rspec_status -/Gemfile.devel /Gemfile.lock /coverage/ /test.doc diff --git a/Gemfile.devel b/Gemfile.devel new file mode 100644 index 0000000..69d8cb9 --- /dev/null +++ b/Gemfile.devel @@ -0,0 +1 @@ +gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "main" diff --git a/lib/isodoc/m3aawg/presentation_xml_convert.rb b/lib/isodoc/m3aawg/presentation_xml_convert.rb index 54de7e2..0c82365 100644 --- a/lib/isodoc/m3aawg/presentation_xml_convert.rb +++ b/lib/isodoc/m3aawg/presentation_xml_convert.rb @@ -12,7 +12,7 @@ def configuration def annex1(elem) lbl = @xrefs.anchor(elem["id"], :label) if t = elem.at(ns("./title")) - t.children = "#{t.children.to_xml}" + t.children = "#{to_xml(t.children)}" end prefix_name(elem, "
", lbl, "title") end