Forked from Srinithi-23/controllers.application.js
Last active
July 12, 2021 13:08
-
-
Save mohamedali-s-4725/a0a8c9b28973259014926e73b4e5d5d7 to your computer and use it in GitHub Desktop.
Revisions
-
mohamedali-s-4725 revised this gist
Jul 12, 2021 . No changes.There are no files selected for viewing
-
mohamedali-s-4725 revised this gist
Oct 22, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import Ember from 'ember'; export default Ember.Controller.extend({ appName: 'Ember Twiddle', Img_tag_with_tag:'< > & <a href=""> SMA </a>' }); -
Srinithi-23 created this gist
Feb 9, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ import Ember from 'ember'; export default Ember.Controller.extend({ appName: 'Ember Twiddle', Img_tag_with_tag:Ember.Handlebars.Utils.escapeExpression('<i>'+Ember.String.htmlSafe('<img src="" onerror=alert();>')+'</i>') }); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ <h1>With html safe string then escape expression</h1> <br> <h2>Double braces</h2> {{Img_tag_with_tag}} <br> <br> <br> <br> <h2>Triple braces</h2> {{{Img_tag_with_tag}}} <br> <br> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ { "version": "0.13.0", "EmberENV": { "FEATURES": {} }, "options": { "use_pods": false, "enable-testing": false }, "dependencies": { "jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js", "ember": "2.16.2", "ember-template-compiler": "2.16.2", "ember-testing": "2.16.2" }, "addons": { "ember-data": "2.16.3" } }