Fix a couple of HTML-related bugs.

Signed-off-by: Jason Lynch <jason@calindora.com>