Fix allow-svg attribute (#23415)

This commit is contained in:
Simon Lamon 2024-12-23 21:37:24 +01:00 committed by GitHub
parent 0d99531855
commit b38963b214
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 17 additions and 17 deletions

View File

@ -50,7 +50,7 @@ export const showConfigFlowDialog = (
return description
? html`
<ha-markdown allowsvg breaks .content=${description}></ha-markdown>
<ha-markdown allow-svg breaks .content=${description}></ha-markdown>
`
: step.reason;
},
@ -71,7 +71,7 @@ export const showConfigFlowDialog = (
);
return description
? html`
<ha-markdown allowsvg breaks .content=${description}></ha-markdown>
<ha-markdown allow-svg breaks .content=${description}></ha-markdown>
`
: "";
},
@ -163,7 +163,7 @@ export const showConfigFlowDialog = (
${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
@ -184,7 +184,7 @@ export const showConfigFlowDialog = (
${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
@ -214,7 +214,7 @@ export const showConfigFlowDialog = (
);
return description
? html`
<ha-markdown allowsvg breaks .content=${description}></ha-markdown>
<ha-markdown allow-svg breaks .content=${description}></ha-markdown>
`
: "";
},
@ -234,7 +234,7 @@ export const showConfigFlowDialog = (
);
return description
? html`
<ha-markdown allowsvg breaks .content=${description}></ha-markdown>
<ha-markdown allow-svg breaks .content=${description}></ha-markdown>
`
: "";
},

View File

@ -61,7 +61,7 @@ export const showOptionsFlowDialog = (
? html`
<ha-markdown
breaks
allowsvg
allow-svg
.content=${description}
></ha-markdown>
`
@ -85,7 +85,7 @@ export const showOptionsFlowDialog = (
return description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
@ -183,7 +183,7 @@ export const showOptionsFlowDialog = (
return description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
@ -207,7 +207,7 @@ export const showOptionsFlowDialog = (
return description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>

View File

@ -99,7 +99,7 @@ class DialogRepairsIssue extends LitElement {
: ""}
<ha-markdown
id="dialog-repairs-issue-description"
allowsvg
allow-svg
breaks
@click=${this._clickHandler}
.content=${this.hass.localize(

View File

@ -90,7 +90,7 @@ export const showRepairsFlowDialog = (
? html`
<ha-markdown
breaks
allowsvg
allow-svg
.content=${description}
></ha-markdown>
`
@ -123,7 +123,7 @@ export const showRepairsFlowDialog = (
${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
@ -220,7 +220,7 @@ export const showRepairsFlowDialog = (
return html`${renderIssueDescription(hass, issue)}${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
@ -254,7 +254,7 @@ export const showRepairsFlowDialog = (
${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>

View File

@ -88,7 +88,7 @@ class HaMfaModuleSetupFlow extends LitElement {
</div>`
: html`${this._step.type === "abort"
? html` <ha-markdown
allowsvg
allow-svg
breaks
.content=${this.hass.localize(
`component.auth.mfa_setup.${this._step.handler}.abort.${this._step.reason}`
@ -103,7 +103,7 @@ class HaMfaModuleSetupFlow extends LitElement {
</p>`
: this._step.type === "form"
? html`<ha-markdown
allowsvg
allow-svg
breaks
.content=${this.hass.localize(
`component.auth.mfa_setup.${