[PR #2364] Converts html special characters in ofx values to plaintext #4271

Closed
opened 2026-02-28 20:53:52 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/2364

State: closed
Merged: Yes


Summary

Converts things like & and < back into plaintext when encountered in qfx/ofx memo or name fields during import.

Issue

Fixes https://github.com/actualbudget/actual/issues/1872

Details

One downside is that users that have payees that are impacted by these characters are going to all of a sudden have additional non-matched payees added when importing with this in place.

Though this could just as easily happen if the banks with these issues fixed their exporters at any point to only have plaintext to begin with.

This change also happens to apply the ampersand replacement in an order that fixes order replacement issues in the source data. (where they did their ampersand replacement after already doing their LT/GT replacement.)

Tests

The example file provided in the issue has been added here as a new test mock.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/2364 **State:** closed **Merged:** Yes --- ## Summary Converts things like `&` and `<` back into plaintext when encountered in qfx/ofx memo or name fields during import. ## Issue Fixes https://github.com/actualbudget/actual/issues/1872 ## Details One downside is that users that have payees that are impacted by these characters are going to all of a sudden have additional non-matched payees added when importing with this in place. Though this could just as easily happen if the banks with these issues fixed their exporters at any point to only have plaintext to begin with. This change also happens to apply the ampersand replacement in an order that fixes order replacement issues in the source data. (where they did their ampersand replacement after already doing their LT/GT replacement.) ## Tests The example file provided in the issue has been added here as a new test mock.
GiteaMirror added the pull-request label 2026-02-28 20:53:53 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#4271