merge upstream
new HTMLReader
include html comments properly in reader
Merge branch 'master' of git://github.com/ametaireau/pelican
git merge master
re-import htmlparser
re-import cgi. properly turn utils.open into a context manager
fix failing test with new open context manager
handle escaped chars in html properly
properly write out charref's
change 'markdown' to HTML in the comments
Merge branch 'master' of git://github.com/ametaireau/pelican
Merge branch 'master' into htmlparser
add documentation for html reader
fix grammar
Fixing pdf generation issue
Added a new signal `finalized` that is dispatched when pelican finishes.

This signal can then be used for post processing.
Patch to allow relative ASSET_URL
Previously, webassets' ASSET_URL always was absolute.
This patch allows a relative ASSET_URL, depending on Pelican's
RELATIVE_URLS setting.

Hint for templates:
-------------------
Current version of webassets seem to remove any relative
paths at the beginning of the URL. So, if RELATIVE_URLS
is on, ASSET_URL will start with 'theme/', regardless if we
set assets_url here to './theme/' or to 'theme/'.
XXX However, this breaks the ASSET_URL if user navigates to
a sub-URL, e.g. if he clicks on a category. To workaround this
issue, I use
    <link rel="stylesheet" href="{{ SITEURL }}/{{ ASSET_URL }}">
instead of
    <link rel="stylesheet" href="{{ ASSET_URL }}">

Maybe this hint is worth to be included in the documentation.
I have it also written as comments in the source.
Merge remote-tracking branch 'upstream/master'
Added description for the finalized signal in the docs