Fix couple of edge case bugs in vertical and html.

Use correct optional parameters for vertical block. Allow html block to have null context.