Skip to content

Commit

Permalink
remove redundant fmt-related//fmt-preferred: #630
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jan 9, 2025
1 parent a90c3fc commit 6905127
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/isodoc/presentation_function/concepts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def related1(node)
end

def related1_prep(node)
p = node.at(ns("./fmt-preferred"))
p = node.at(ns("./fmt-preferred"))&.children
ref = node.at(ns("./xref | ./eref | ./termref"))
orig = semx_orig(node)
[p, ref, orig]
Expand Down
2 changes: 0 additions & 2 deletions spec/isodoc/terms_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1982,12 +1982,10 @@
<p>
<strong>CONTRAST:</strong>
<em>
<fmt-preferred>
<semx element="preferred" source="_">
<strong>Fifth Designation</strong>
, n
</semx>
</fmt-preferred>
</em>
(
<xref target="second">
Expand Down

0 comments on commit 6905127

Please sign in to comment.