Merge pull request #1 from StephenKing/master

Fix termination of code block