Reformatted and moved HTML to actual HTML instead of being emitted by
php echo statements.