Improve text handling in lists of steps