HTML Tags Within Internationalized Strings In Polymer.dart
Update A ready-to-use element for Dart Polymer 1.0 is bwu-bind-html Update Polymer now provides support for this out of the box this.injectBoundHTML(‘<div>your HTML goes here ${someBoundFieldValue}</div>); Old This is the code of the <safe-html> tag I’m using. library safe_html; import ‘dart:async’; import “dart:html”; import “package:polymer/polymer.dart”; @CustomTag(“safe-html”) class SafeHtml extends PolymerElement { @published String model; NodeValidator … Read more