Fix #811 by returning an empty string when there is no document content.
Replaced huge elif statement with dictionary and functions
Fixed code style, passes flake8
Merge pull request #813 from DDevine/lxmlfix

Fix #811 by returning an empty string when there is no document content.
updated changelog
remove a line that never gets executed

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1 from Kwpolska/removeElif

Remove a line that never gets executed
Changed path setting to path = {...}[kind]()
Merge pull request #814 from DBeath/removeElif

Replaced huge elif statement with dictionary and functions
Fix #812
do nothing if asked to makedir ''