Skip to content

Commit

Permalink
replace half diacritics U+FE20, U+FE21 with full diacritic U+0361
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill committed Mar 1, 2024
1 parent f9d186c commit 47e6a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/traject/readers/folio_postgres_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def each
break if response.nil?

response.each do |row|
data = JSON.parse(row['jsonb_build_object'])
data = JSON.parse(row['jsonb_build_object'].gsub(/[?=\ufe20](.*?)[?<=\ufe21]/, "\u0361\\1"))

merge_separately_queried_data!(data)

Expand Down

0 comments on commit 47e6a5d

Please sign in to comment.