Skip to content

Commit

Permalink
Fix downlevel EWS parsing (#1308)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenegriffin authored Oct 28, 2024
1 parent f870d74 commit dbe867f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scripts/GetHeadersEWS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class GetHeadersEWS {
return this.nodeName === node;
});
if (response[0] && response[0].textContent) {
return response[0].textContent.replace(/\r|\n|\r\n/g, "\n");
return response[0].textContent.replace(/\r\n|\r|\n/g, "\n");
}

return "";
Expand Down

0 comments on commit dbe867f

Please sign in to comment.