Skip to content

Commit

Permalink
Fixed multiline templates not rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
holashchand committed Jun 6, 2024
1 parent 7dd3095 commit f4f4158
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 f4f4158

Please sign in to comment.