web/elements: fix linting error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
eb9593a847
commit
0a2c1eb419
|
@ -25,7 +25,7 @@ export class Markdown extends LitElement {
|
||||||
if (!this.md) {
|
if (!this.md) {
|
||||||
return html``;
|
return html``;
|
||||||
}
|
}
|
||||||
const finalHTML = this.md?.html.replace("<ul>", "<ul class=\"pf-c-list\">");
|
const finalHTML = this.md?.html.replace("<ul>", "<ul class='pf-c-list'>");
|
||||||
return html`${this.md?.metadata.title ? html`<h2>${this.md.metadata.title}</h2>` : html``}
|
return html`${this.md?.metadata.title ? html`<h2>${this.md.metadata.title}</h2>` : html``}
|
||||||
${unsafeHTML(finalHTML)}`;
|
${unsafeHTML(finalHTML)}`;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue