Fix block warnings when block is inside "code"

[fixes #1589]
Merge pull request #1590 from visionmedia/fix-1589-block-warnings

Fix block warnings when block is inside "code"