我想通過塊獲取HTML空間{{}}我怎樣才能在一個空間{{}}
I tried {{myVariable}}, then I got html with " "
may I know how can I get a html " " in block {{myVariable}}?
Thanks very much.
例子:<div class="o-grid__cell o-grid__cell--width-75">{{task.word.phrase}}</div>
轉移到<div class="o-grid__cell o-grid__cell--width-75">someone who tells the actors in a film or play what to do</div>
但我認爲它必須<div class="o-grid__cell o-grid__cell--width-75">someone who tells the actors in a film or play what to do</div>
in angular1我搜索https://github.com/angular/angular.js/issues/1505,但不明白如何在Angular2中使用。
問題是有點困惑..你期待什麼發生? –
我添加示例 –