Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: Allow html but not script, head and html tags in notes widget #4898 #5006
Use the autoloader so it only gets loaded when needed:
require $install_dir . '/lib/htmlpurifier-4.8.0-lite/library/HTMLPurifier.auto.php';
Also, it seems to fail badly when iconv isn't present. The docs said you only need iconv when the string isn't utf-8. I couldn't figure out how to fix that...