Skip to content

Commit

Permalink
refactor noko() to use string not array: metanorma/metanorma-ogc#703
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Aug 6, 2024
1 parent 59e00e5 commit f5b7e8c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/metanorma/ietf/blocks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def note(node)
node.title.nil? or c.name { |name| name << node.title }
wrap_in_para(node, c)
end
end.join("\n")
end
end

def literal(node)
Expand Down
6 changes: 3 additions & 3 deletions lib/metanorma/ietf/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def inline_quoted(node)
xml << node.text
end
end
end.join
end
end

def inline_anchor_xref(node)
Expand All @@ -74,7 +74,7 @@ def inline_anchor_xref(node)
xml.xref **attr_code(attrs) do |x|
x << c
end
end.join
end
end

def table_attrs(node)
Expand Down Expand Up @@ -146,7 +146,7 @@ def inline_indexterm(node)
has_primary = true
end
inline_indexterm1(has_primary, terms, xml)
end.join
end
end

def inline_indexterm1(has_primary, terms, xml)
Expand Down
2 changes: 1 addition & 1 deletion lib/metanorma/ietf/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Metanorma
module Ietf
VERSION = "3.3.8".freeze
VERSION = "3.3.9".freeze
end
end
2 changes: 1 addition & 1 deletion metanorma-ietf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")

spec.add_dependency "metanorma-ietf-data"
spec.add_dependency "metanorma-standoc", "~> 2.9.0"
spec.add_dependency "metanorma-standoc", "~> 2.9.3"
spec.add_dependency "relaton-render"

spec.add_development_dependency "debug"
Expand Down

0 comments on commit f5b7e8c

Please sign in to comment.