questionnaire defect 60.55,59,57

This commit is contained in:
2025-01-15 11:30:58 +00:00
parent 49418becf2
commit 33ab93643d
9 changed files with 154 additions and 245 deletions
@@ -110,7 +110,10 @@ export const writtenStatement_pdf = ({ docProps }) => {
function CleanHTML(htmlStr) {
let cleanStr =
typeof htmlStr === "string"
? htmlStr.replace(/<p><br><\/p>/g, "")
? htmlStr.replace(
/<p><br><\/p>|<p class=\"ql-align-justify\"><br><\/p>/g,
""
)
: "";
return cleanStr;