Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version of Flask and embedded knowls #2172

Closed
sanni85 opened this issue Jul 17, 2017 · 2 comments
Closed

Version of Flask and embedded knowls #2172

sanni85 opened this issue Jul 17, 2017 · 2 comments

Comments

@sanni85
Copy link
Contributor

sanni85 commented Jul 17, 2017

Using versions of flask > 0.10.1 embedded knowls and dynamical knowls do not render html content.

Adding a |safe to some of them (see nf.galois_group.data) solves the problem, but more work is needed e.g gg.conway_name?undefined=

@sanni85
Copy link
Contributor Author

sanni85 commented Jul 17, 2017

It looks like that if functions called in embedded knowls return a flask.Markup object, this solves the problem.

@sanni85 sanni85 mentioned this issue Jul 18, 2017
@sanni85
Copy link
Contributor Author

sanni85 commented Jul 19, 2017

This can be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants