Wraps task failure message in <pre>