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

Content <script> tag removed - not HTML #1378

Open
JanValkenburg opened this issue Apr 16, 2024 · 0 comments
Open

Content <script> tag removed - not HTML #1378

JanValkenburg opened this issue Apr 16, 2024 · 0 comments

Comments

@JanValkenburg
Copy link

JanValkenburg commented Apr 16, 2024

Describe the bug
The script tag got removed when loading SunEditor This shouldn't be possible as this is not HTML, but just plain content.

& lt;script& gt;x& lt;/script& gt;

This is the HTML before loading the editor.

<textarea name="text" id="text" cols="80" rows="5" style="display: none;">& lt;pre& gt;& lt;script& gt;x& lt;/script& gt;& lt;/pre& gt;</textarea>

(i had to add spaces after the & char to render it correctly in github - those spaces after the & are not in the real code)

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

1 participant