Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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