Removes trailing white spaces.
Replaces spaces with tabs for indentation.
Replaces spaces with tabs for indentation.
Updates memory allocation functions not to be static.
Updates pugihtml to reuse functions from html_node.