# RequireJS test

This example loads the html-beautifier by using a relative path in the require call to the beautify-html.js file. (also works works with absolute paths)

    require(["../lib/beautify-html"],function(html_beautify){
    	var input = document.getElementById("input").value;
    	var output = html_beautify.html_beautify(input);
    	document.getElementById("output").innerHTML = output;
    });

## Input

<ul><li><a href="test"></a></li></ul>

## Output