I have the following HTML.
<iron-pages id="pages" role="main" selected="[[_page]]" attr-for-selected="name">
<marked-element name="[[_page]]">
<div slot="markdown-html"></div>
<script type="text/markdown" src="/src/markdown/[[_page]].md"></script>
</marked-element>
</iron-pages>
The [[_page]]
variable works fine except as src
value. The result is: marked-element.html:315 GET http://localhost:8081/src/markdown/.md 404 (Not Found)
How can I make marked-element
inherit the _page
variable?