mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 22:07:20 +00:00
Ensure markdown card input is a string (#10705)
This commit is contained in:
parent
9361e4cf9c
commit
0ef07e4835
@ -24,7 +24,7 @@ class HaMarkdownElement extends ReactiveElement {
|
|||||||
|
|
||||||
private async _render() {
|
private async _render() {
|
||||||
this.innerHTML = await renderMarkdown(
|
this.innerHTML = await renderMarkdown(
|
||||||
this.content,
|
String(this.content),
|
||||||
{
|
{
|
||||||
breaks: this.breaks,
|
breaks: this.breaks,
|
||||||
gfm: true,
|
gfm: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user