We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Although I am allowed to use because it is very favorite.
But ...
<script> alert ('xss') </ script> ... From being able to run the script such as it's the OK?
The text was updated successfully, but these errors were encountered:
var preview = this.element.find('.rendered-markdown'); if (setting.xssok) { this.markdown = this.editor.getValue(); } else { var stack = $('<div></div>').text(this.editor.getValue()); this.markdown = $(stack).html(); } this.html = this.converter.makeHtml(this.markdown);
Sorry, something went wrong.
Decent little more ideas :-)
$.widget( "b4m.ghostDown", { editor: null, markdown: null, html: null, converter: null, options: { tagRejections : null },
var preview = this.element.find('.rendered-markdown'); var dummy = $('<div></div>'); this.markdown = this.editor.getValue(); dummy.html(this.converter.makeHtml(this.markdown)); if (this.options.tagRejections) { dummy.find(this.options.tagRejections).remove(); } this.html = dummy.html(); preview.html(this.html);
$('.editor').ghostDown({ tagRejections: 'script foo bar' });
so... it's not committed yet?
No branches or pull requests
Although I am allowed to use because it is very favorite.
But ...
<script> alert ('xss') </ script>
... From being able to run the script such as it's the OK?
The text was updated successfully, but these errors were encountered: