mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix allow-svg attribute (#23415)
This commit is contained in:
parent
0d99531855
commit
b38963b214
@ -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>
|
||||
`
|
||||
: "";
|
||||
},
|
||||
|
@ -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>
|
||||
|
@ -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(
|
||||
|
@ -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>
|
||||
|
@ -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.${
|
||||
|
Loading…
x
Reference in New Issue
Block a user