If I have
<step> <title>A long title</title>
then this line break will be preserved in the output, which does not look good. I think the template needs to call normalize-space() at some point, as it does with other titles.