Fix extra root tags being added by lxml
use lxml.html.tostring as a backup if stripping root element fails
actually fix #1261

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
use lxml.html.tostring as a backup if stripping root element fails for teasers
Merge pull request #1264 from dhruvbaldawa/lxml-root-tags

Fix extra root tags being added by lxml
fix #1255 -- suggest local timezone in config wizard.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
fix the tests

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
flake8

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
resolve #1164 -- remove tidy.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
flake8

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
that’s not how try works

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
fix import

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Fix issue where json wasn't being returned.

When the plugin command's JSON-request caching feature was implemented,
the resulting refactored method didn't actually return anything when
no cached JSON was available.  This should fix that.
Let's avoid the additional assignment.
Merge pull request #1268 from arusahni/master

Fix issue where plugin JSON wasn't being returned
force requests in `nikola plugin`

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
use Response.json() in `nikola plugin`

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
flake8

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1267 from getnikola/remove-tidy

Resolve #1164 -- remove tidy.
Merge pull request #1266 from getnikola/suggest-localtime

fix #1255 -- suggest local timezone in config wizard.