Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mohamedali-s-4725/a0a8c9b28973259014926e73b4e5d5d7 to your computer and use it in GitHub Desktop.
Save mohamedali-s-4725/a0a8c9b28973259014926e73b4e5d5d7 to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
Img_tag_with_tag:'&lt; &gt; &amp; <a href=""> SMA </a>'
});
<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>
{
"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"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment