diff --git a/src/main/kotlin/no/nav/pdfgen/core/pdf/CreateHtml.kt b/src/main/kotlin/no/nav/pdfgen/core/pdf/CreateHtml.kt index 90c755a..881c1e6 100644 --- a/src/main/kotlin/no/nav/pdfgen/core/pdf/CreateHtml.kt +++ b/src/main/kotlin/no/nav/pdfgen/core/pdf/CreateHtml.kt @@ -25,7 +25,7 @@ fun createHtmlFromTemplateData(template: String, directoryName: String): String? return render(directoryName, template, jsonNode) } -private fun render(directoryName: String, template: String, jsonNode: JsonNode): String? { +fun render(directoryName: String, template: String, jsonNode: JsonNode): String? { return HANDLEBARS_RENDERING_SUMMARY.startTimer() .use { loadTemplates()[directoryName to template]?.apply(