Share feature shares HTML content also #112. Refactoring.