Polymer/polymer

Binding notations inside script/style are removed

Closed this issue · 0 comments

Description

When putting a literal binding inside a <script> or <style>, the bindings are removed and replaced with empty strings. This is especially a prominent issue when using marked-element with <script type="text/markdown"> that has bindings in it (to show Polymer code).

Live Demo

https://jsbin.com/wamocuyapu/edit?html,console,output

Steps to Reproduce

  1. Log a literal with a binding ({{value}})

Expected Results

"Value is: {{value}}"

Actual Results

"Value is: "

Browsers Affected

  • Chrome
  • Firefox
  • Edge
  • Safari 9
  • Safari 8
  • IE 11

Versions

  • Polymer: v1.5.0
  • webcomponents: v0.7.22