const htmlawed = require('htmlawed');
const css = require('css');
function sanitizeHtml(html)
{
if (!html)
return '';
else
html = html+'';
let styles = '';
// GitHub tends to insert some metadata script. Cut off them here,
// because htmLawed has a global policy for bad tags and we use "leave content in place".
html = html.replace(/