Skip to content

Commit

Permalink
Merge pull request #330 from holashchand/issue-1024
Browse files Browse the repository at this point in the history
[BUG]: Fixed multiline templates not rendering
  • Loading branch information
challabeehyv authored Jun 10, 2024
2 parents e2944f4 + f4f4158 commit 0194269
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ public Object getCertificate(JsonNode credentialId, String entityName, String en
ResponseEntity<String> response = this.retryRestTemplate.getForEntity(URLDecoder.decode(template, "UTF-8"));
template = response.getBody();
}
if (template != null) {
template = template.replaceAll("\n", "");
}
return getCredentialById(credentialId.asText(), mediaType, templateId, template);
}

Expand Down

0 comments on commit 0194269

Please sign in to comment.