Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants