Skip to content

Commit

Permalink
[lit-html] svg tag function JSDoc tiny update.
Browse files Browse the repository at this point in the history
Include Justin's feedback on #2479.
Replace rare with invalid and reflow markdown.
  • Loading branch information
AndrewJakubowicz committed Feb 7, 2022
1 parent 6ea3d6c commit 9a4944e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/lit-html/src/lit-html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ export const html = tag(HTML_RESULT);
* function. The `<svg>` element is an HTML element and should be used within a
* template tagged with the {@linkcode html} tag function.
*
* In LitElement usage, it's rare to return an SVG fragment from the `render()`
* method, as the SVG fragment will be contained within the element's shadow
* root and thus cannot be used within an `<svg>` HTML element.
* In LitElement usage, it's invalid to return an SVG fragment from the
* `render()` method, as the SVG fragment will be contained within the element's
* shadow root and thus cannot be used within an `<svg>` HTML element.
*/
export const svg = tag(SVG_RESULT);

Expand Down

0 comments on commit 9a4944e

Please sign in to comment.