state-machine: add hard return before code tags