diff --git a/docs-src/index.md b/docs-src/index.md index c1464c2..c7fa056 100644 --- a/docs-src/index.md +++ b/docs-src/index.md @@ -58,7 +58,7 @@ import {html, render} from 'lit-html'; const name="lit-html"; render(html` -

This is a my-element>h2> +

This is a <my-element>

`, document.body); ``` @@ -66,6 +66,7 @@ render(html`
+

This is a <my-element>

diff --git a/docs/index.html b/docs/index.html index 400f29a..aeeb5eb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -52,10 +52,11 @@

<my-element> can be used with declarative rendering libraries like Angular, React, Vue, and lit-html

-
import {html, render} from 'lit-html';

const name="lit-html";

render(html`
<h2>This is a my-element>h2>
<my-element .name=${name}></my-element>
`
, document.body);
+
import {html, render} from 'lit-html';

const name="lit-html";

render(html`
<h2>This is a &lt;my-element&gt;</h2>
<my-element .name=${name}></my-element>
`
, document.body);
-

+

This is a <my-element>

+