Skip to content

Commit

Permalink
Fix allow-svg attribute (#23415)
Browse files Browse the repository at this point in the history
  • Loading branch information
silamon authored Dec 23, 2024
1 parent 0d99531 commit b38963b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions src/dialogs/config-flow/show-dialog-config-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
Expand All @@ -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>
`
: "";
},
Expand Down Expand Up @@ -163,7 +163,7 @@ export const showConfigFlowDialog = (
${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
Expand All @@ -184,7 +184,7 @@ export const showConfigFlowDialog = (
${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
Expand Down Expand Up @@ -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>
`
: "";
},
Expand All @@ -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>
`
: "";
},
Expand Down
8 changes: 4 additions & 4 deletions src/dialogs/config-flow/show-dialog-options-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const showOptionsFlowDialog = (
? html`
<ha-markdown
breaks
allowsvg
allow-svg
.content=${description}
></ha-markdown>
`
Expand All @@ -85,7 +85,7 @@ export const showOptionsFlowDialog = (
return description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
Expand Down Expand Up @@ -183,7 +183,7 @@ export const showOptionsFlowDialog = (
return description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
Expand All @@ -207,7 +207,7 @@ export const showOptionsFlowDialog = (
return description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
Expand Down
2 changes: 1 addition & 1 deletion src/panels/config/repairs/dialog-repairs-issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
8 changes: 4 additions & 4 deletions src/panels/config/repairs/show-dialog-repair-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const showRepairsFlowDialog = (
? html`
<ha-markdown
breaks
allowsvg
allow-svg
.content=${description}
></ha-markdown>
`
Expand Down Expand Up @@ -123,7 +123,7 @@ export const showRepairsFlowDialog = (
${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
Expand Down Expand Up @@ -220,7 +220,7 @@ export const showRepairsFlowDialog = (
return html`${renderIssueDescription(hass, issue)}${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
Expand Down Expand Up @@ -254,7 +254,7 @@ export const showRepairsFlowDialog = (
${description
? html`
<ha-markdown
allowsvg
allow-svg
breaks
.content=${description}
></ha-markdown>
Expand Down
4 changes: 2 additions & 2 deletions src/panels/profile/dialog-ha-mfa-module-setup-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
Expand All @@ -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.${
Expand Down

0 comments on commit b38963b

Please sign in to comment.