/**
 * Prettify html strings.
 * @function lib.html.prettifyHtml
 * @see {@link http://github.com/maxogden/commonjs-html-prettyprinter/blob/master/lib/html.js}
 * @param {string} source - Source html string.
 */
module.exports = function (source) {
    return require('html').prettyPrint(source, {
        indent_size: 2
    });
};