Fix HTML rendering for single-item sections

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>