Skip to content

Commit

Permalink
cleanup concept IEV links: #19
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Dec 8, 2021
1 parent 2798c10 commit 4b4415b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/split_codes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def split(input, output)
def swap_term_refs(string)
# string.gsub(/\{\{\s*([^}]+)\s*,\s*([^}]+)\s*\}\}/, '{{<<\2>>,\1}}')
string.gsub(/\{\{\s*([^}]+)\s*,\s*([^}]+)\s*\}\}/, '{{<<\2>>}}')
.gsub(/\{\{\{([^}]+)\}\}\}/, '{{\1}}')
.gsub(/\(\{\{([^}]+)\}\}\)/, '{{\1}}')
# we want this to be {{<<\2>>,term}}, once the term is identified in the source YAML: https://github.com/glossarist/iev-document/issues/10
end

Expand Down

0 comments on commit 4b4415b

Please sign in to comment.