Ensure markdown card input is a string (#10705)

This commit is contained in:
Philip Allgaier
2021-11-29 10:50:08 +01:00
committed by GitHub
parent 9361e4cf9c
commit 0ef07e4835

View File

@@ -24,7 +24,7 @@ class HaMarkdownElement extends ReactiveElement {
private async _render() {
this.innerHTML = await renderMarkdown(
this.content,
String(this.content),
{
breaks: this.breaks,
gfm: true,