fix html-page-context event handler
The event handler should return a string if it wants to replace the
template, but should otherwise return None and update the context in
place.
Change-Id: Ic4b19c7d19eda866ba139913cf817c99a65c8c08
Closes-Bug: #1505311
Doug Hellmann
8 years ago