Skip to content

Commit

Permalink
Merge pull request #280 from Martin-Zeithaml/v1.x/KeepLeadSpaces
Browse files Browse the repository at this point in the history
Keep leading spaces in dataset content
  • Loading branch information
1000TurquoisePogs authored May 16, 2022
2 parents 0bc343c + 826e799 commit 6543f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webClient/src/app/shared/http/http.data.adapter.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class DataAdapterService {

convertDatasetContent(responseData: any): { contents: string, etag: string } {
return {
contents: JSON.parse(responseData).records.filter(function(record){return record.length > 0}).map(function(record){return record.trim()}).join("\n"),
contents: JSON.parse(responseData).records.filter(function(record){return record.length > 0}).map(function(record){return record.trimEnd()}).join("\n"),
etag: JSON.parse(responseData).etag
};
}
Expand Down

0 comments on commit 6543f07

Please sign in to comment.