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 return description
? html` ? html`
<ha-markdown allowsvg breaks .content=${description}></ha-markdown> <ha-markdown allow-svg breaks .content=${description}></ha-markdown>
` `
: step.reason; : step.reason;
}, },
@ -71,7 +71,7 @@ export const showConfigFlowDialog = (
); );
return description return description
? html` ? 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 ${description
? html` ? html`
<ha-markdown <ha-markdown
allowsvg allow-svg
breaks breaks
.content=${description} .content=${description}
></ha-markdown> ></ha-markdown>
@ -184,7 +184,7 @@ export const showConfigFlowDialog = (
${description ${description
? html` ? html`
<ha-markdown <ha-markdown
allowsvg allow-svg
breaks breaks
.content=${description} .content=${description}
></ha-markdown> ></ha-markdown>
@ -214,7 +214,7 @@ export const showConfigFlowDialog = (
); );
return description return description
? html` ? 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 return description
? html` ? 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` ? html`
<ha-markdown <ha-markdown
breaks breaks
allowsvg allow-svg
.content=${description} .content=${description}
></ha-markdown> ></ha-markdown>
` `
@ -85,7 +85,7 @@ export const showOptionsFlowDialog = (
return description return description
? html` ? html`
<ha-markdown <ha-markdown
allowsvg allow-svg
breaks breaks
.content=${description} .content=${description}
></ha-markdown> ></ha-markdown>
@ -183,7 +183,7 @@ export const showOptionsFlowDialog = (
return description return description
? html` ? html`
<ha-markdown <ha-markdown
allowsvg allow-svg
breaks breaks
.content=${description} .content=${description}
></ha-markdown> ></ha-markdown>
@ -207,7 +207,7 @@ export const showOptionsFlowDialog = (
return description return description
? html` ? html`
<ha-markdown <ha-markdown
allowsvg allow-svg
breaks breaks
.content=${description} .content=${description}
></ha-markdown> ></ha-markdown>

View File

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

View File

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

View File

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