Allow '.' in XML/HTML element names.
Documented the Output class, added a function to count lines, keep newlines inside of the line span.