Fixed edge case with CSS classes on outputs.