Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix allow-svg attribute #23415

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading