@@ -41,7 +41,7 @@ function exportToPdf(htmlFile, pdfPath) {
}
function cleanString(string) {
- return string.replace(" ", "_");
+ return string.replaceAll(" ", "_");
function exportRenderToPdf(dataFilePath, templatePath, assetsPath, outputPath) {