Fixing rendering issues

Josh Long pointed out some issues with rendering markup.