I have just started building my first Flask app, which currently simply returns output of inspect for my objects inside table tags. The problem is that instead of the html I expect, a template engine messes layout up creating new tags (I guess it parses dict’s curly brackets).
I have just started building my first Flask app, which currently simply returns output
Share
From your question I don’t really understand, why and where this
inspectis ran, but it is possible to escape output like this:Or you can escape things inside template by using
'foo'or{% raw %}: