Skip to content

Commit

Permalink
Fix string space normalization.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey committed Sep 17, 2024
1 parent 9180528 commit ee2f434
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1494,16 +1494,11 @@ process:
- plugin: dgi_migrate.sub_process
process_values: true
values:
_mods_xpath:
# XXX: Copy here so it's available for further subprocessing.
- plugin: get
source: parent_row/dest/_mods_xpath
language_term:
- << : *nested_mods_node
query: 'normalize-space(.)'
query: 'string(normalize-space(.))'
method: evaluate
- plugin: dgi_migrate.required_entity_lookup
source: parent_value
entity_type: taxonomy_term
bundle_key: vid
bundle: language
Expand Down

0 comments on commit ee2f434

Please sign in to comment.