Skip to content

Commit

Permalink
Fix chilts#11
Browse files Browse the repository at this point in the history
  • Loading branch information
tioback committed Mar 30, 2021
1 parent a4db63c commit ed6528c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ofx.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function parse(data) {
const ofx = data.split('<OFX>', 2);

// firstly, parse the headers
const headerString = ofx[0].split(/\r?\n/);
const headerString = ofx[0].split(/\r|\n|\r\n/);
const header = {};
headerString.forEach((attrs) => {
const headAttr = attrs.split(/:/,2);
Expand Down

0 comments on commit ed6528c

Please sign in to comment.