Fix transforming sections

* Move inline html template to a hogan file
* Add documentation
* Add a QUnit test

Bug: 72395
Change-Id: I47e43578afcc2260ed7d20f6ad49cb1ffa69ddad
Merge "Fix transforming sections"