Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
luciajanikova committed Dec 12, 2024
1 parent 4d62037 commit 9822c39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/automation/condition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def content_match?(object, value)
if object.pdf?
pdf_match?(object.content, value)
elsif object.xml?
# TODO: fix encoding when saving content to DB
Nokogiri::XML(object.content, nil, 'UTF-8').to_s.match?(value)
end
end
Expand Down

0 comments on commit 9822c39

Please sign in to comment.