
        inputValueChanged: function (text) {

          if (text.length > 0) {
            this.$.codeviewer.innerHTML = text;
          }

          if (this.escape) {
            this.$.codeviewer.innerHTML = he.encode(text);
          }

          Prism.highlightElement(this.$.codeviewer);
          //TODO: find a way to inject the styles in the component
          return true;
        },
        attached: function() {
          this.inputValueChanged(Polymer.dom(this).textContent);
        }
      });
