Skip to content

Commit

Permalink
refactor to_xml: metanorma/metanorma-ieee#170
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Nov 22, 2022
1 parent ad1fd7e commit 288fa17
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.rubocop-https--*

/.rspec_status
/Gemfile.devel
/Gemfile.lock
/coverage/
/test.doc
Expand Down
1 change: 1 addition & 0 deletions Gemfile.devel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "main"
2 changes: 1 addition & 1 deletion lib/isodoc/m3aawg/presentation_xml_convert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def configuration
def annex1(elem)
lbl = @xrefs.anchor(elem["id"], :label)
if t = elem.at(ns("./title"))
t.children = "<strong>#{t.children.to_xml}</strong>"
t.children = "<strong>#{to_xml(t.children)}</strong>"
end
prefix_name(elem, "<br/>", lbl, "title")
end
Expand Down

0 comments on commit 288fa17

Please sign in to comment.