Fix escaping fenced code tags with safe mode
Tests for issue #161
Removed spaces
Merge pull request #162 from polarkac/fenced-code-safe-mode

Fix escaping fenced code block with safe mode