questionnaire defect 60.55,59,57
This commit is contained in:
@@ -21,7 +21,7 @@ const getTrans = (locale, key) => {
|
||||
|
||||
let jsonObj = locale == "cy" ? transLookupCY : transLookupEN;
|
||||
|
||||
console.log(locale, jsonObj[key]);
|
||||
//console.log(locale, jsonObj[key]);
|
||||
return jsonObj[key];
|
||||
};
|
||||
|
||||
@@ -129,7 +129,10 @@ export const other_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;
|
||||
|
||||
Reference in New Issue
Block a user