Return a unicode string with the traceback as rendered HTML.
(self, full=False)
| 101 | return ''.join(lines).rstrip() |
| 102 | |
| 103 | def render_as_html(self, full=False): |
| 104 | """Return a unicode string with the traceback as rendered HTML.""" |
| 105 | from jinja2.debugrenderer import render_traceback |
| 106 | return u'%s\n\n<!--\n%s\n-->' % ( |
| 107 | render_traceback(self, full=full), |
| 108 | self.render_as_text().decode('utf-8', 'replace') |
| 109 | ) |
| 110 | |
| 111 | @property |
| 112 | def is_template_syntax_error(self): |
nothing calls this directly
no test coverage detected