Removed extra spacing.
Added slash to the end of baseurl tag.
Added default encoding.
Modified markdown extension handling.

Added .html extension to parse in markdown format.