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

Modal preview of text_editor content escapes HTML output #5155

Closed
a-r-m-i-n opened this issue Apr 3, 2022 · 1 comment
Closed

Modal preview of text_editor content escapes HTML output #5155

a-r-m-i-n opened this issue Apr 3, 2022 · 1 comment

Comments

@a-r-m-i-n
Copy link
Contributor

I'm not sure if this is a security feature or a bug. But, when using TextEditorField you get this output in modal:

image

In my case, I would prefer raw output.

If this is security related, you could at least provide an option, to outputRaw HTML output.

a-r-m-i-n added a commit to a-r-m-i-n/EasyAdminBundle that referenced this issue Apr 3, 2022
to optionally enable raw HTML output in detail action
and inside modal content (on index action).

Relates: EasyCorp#5155
@javiereguiluz
Copy link
Collaborator

Thanks for this proposal. I'm closing this issue in favor of #6675, which tries to improve this.

I'll take a look at your PR #5156 to see if we can reuse any part of it.

Thanks!

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