Convert max content length from a global constant to a passed value.
Improve quantity and style of content shown on the DOM.
We're using HTML5 doctype, no need for closing slashes.