fix #1351 -- make posts with code directive only work

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge branch 'master' into fix-1351

Conflicts:
	CHANGES.txt
Merge pull request #1352 from getnikola/fix-1351

fix #1351 -- make posts with code directive only work