const parse = require('html-react-parser'); module.exports = { htmlParse : function(html){ if(html){ return parse(html.replace(/\n/g,'
')); } else ''; } }