mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-08 10:29:37 +00:00
Don't break Markdown from external sources (#5713)
This commit is contained in:
@@ -50,7 +50,13 @@ export const showOptionsFlowDialog = (
|
||||
);
|
||||
|
||||
return description
|
||||
? html` <ha-markdown allowsvg .content=${description}></ha-markdown> `
|
||||
? html`
|
||||
<ha-markdown
|
||||
breaks
|
||||
allowsvg
|
||||
.content=${description}
|
||||
></ha-markdown>
|
||||
`
|
||||
: "";
|
||||
},
|
||||
|
||||
@@ -69,7 +75,13 @@ export const showOptionsFlowDialog = (
|
||||
step.description_placeholders
|
||||
);
|
||||
return description
|
||||
? html` <ha-markdown allowsvg .content=${description}></ha-markdown> `
|
||||
? html`
|
||||
<ha-markdown
|
||||
allowsvg
|
||||
breaks
|
||||
.content=${description}
|
||||
></ha-markdown>
|
||||
`
|
||||
: "";
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user