Commit 5997f4ea authored by Yashu Mittal's avatar Yashu Mittal 👍🏻

// add COMMENT ANCHOR

Fix the error showing while deploying site on netlify.
parent f6203d03
......@@ -79,6 +79,8 @@
return text.substring(0, length) + suffix;
},
stripHTML: text => {
// FIXME document is not defined
// Showing error while deploying on netlify.
var tmp = document.createElement("DIV");
tmp.innerHTML = text;
return tmp.textContent || tmp.innerText || "";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment