Rescue exceptions on rendering

SyntaxError raised when trying to render malformed markups.
Guard-slim crashes without rescue it.