popeindustries / lit-html-server

Render lit-html templates on the server as Node.js streams
MIT License
265 stars 12 forks source link

Incompatible handling of template in attributes #122

Closed AndersCan closed 4 years ago

AndersCan commented 4 years ago

lit-html doesn't support templates nested in attribute values.

const helloTemplate = name =>
  html`
    <ol data-test="${html`hello`}">
      <li>Hello ${name}!</li>
    </ol>
  `;