Trim scenarios in the end; change the way scenario html is generated