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

Mark files with <!DOCTYPE html> at the start as HTML #7

Closed
wants to merge 1 commit into from

Conversation

jamiter
Copy link

@jamiter jamiter commented Aug 31, 2016

A Javascript file could also contain the string <!DOCTYPE html> and InjectData would then modify that file. This is actually the case for the Froala text editor.

In other words: This change prevents our production app from blowing up.

A Javascript file could also contain the string `<!DOCTYPE html>` and InjectData would then modify that file. This is actually the case for the Froala text editor.
@jamiter
Copy link
Author

jamiter commented Feb 14, 2017

6 months without a response, so closing this.

@jamiter jamiter closed this Feb 14, 2017
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

Successfully merging this pull request may close these issues.

1 participant