Fix unclosed div in TUX mode

Also changed the mix of raw html and Html:: functions
to use only one way at a time (this should be moved
to JS anyway)

Bug: 46077
Change-Id: Iadd6f097a828b157333761cbac53e9c16c0a8da3
Merge "Fix unclosed div in TUX mode"