Microdot render_template returns output in HTML <pre> tags #10259
Answered
by
IcedRooibos
IcedRooibos
asked this question in
Libraries & Drivers
-
When I run the below code, everything that is returned at "/" is put into an HTML pre tag before the main content. It's likely to be an issue in my code and not the library but I can't really figure out how to fix this. Has anyone encountered this before?
container.html
|
Beta Was this translation helpful? Give feedback.
Answered by
IcedRooibos
Dec 17, 2022
Replies: 1 comment
-
Whoops, how silly. Forgot to add {'Content-Type': 'text/html'} This works
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
IcedRooibos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whoops, how silly. Forgot to add {'Content-Type': 'text/html'}
This works