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

Support displaying results as HTML #3

Open
ninsuo opened this issue Jan 21, 2015 · 3 comments
Open

Support displaying results as HTML #3

ninsuo opened this issue Jan 21, 2015 · 3 comments

Comments

@ninsuo
Copy link
Owner

ninsuo commented Jan 21, 2015

Can be useful to add a "Show HTML result" button to interpret HTML results instead of displaying text.
See: http://twigfiddle.com/e88llr

Should wrap the feature inside an iframe endpointed elsewhere than on twigfiddle.com to secure against xss using cross origin request policies.

@GromNaN
Copy link
Contributor

GromNaN commented Jan 21, 2015

👍
The iframe is a good idea.
You can use a subdomain for the XSS issue.

@stof
Copy link
Contributor

stof commented Aug 12, 2015

@GromNaN a subdomain is allowed to mess with the top-level domain cookies

@sylfabre
Copy link

This tool supports HTML rendering
https://fiddle.nette.org/twig/

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

No branches or pull requests

4 participants