fix: fix all eslint errors
This commit is contained in:
parent
1cf2619393
commit
39a3098a99
19 changed files with 420 additions and 412 deletions
|
@ -21,6 +21,8 @@
|
|||
{#if value !== ""}
|
||||
<div class="card">
|
||||
<div class="card-header">{$t("edit-profile.preview")}</div>
|
||||
<!-- bios are sanitized before being passed to @html and the allowed markdown is heavily restricted -->
|
||||
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||
<div class="card-body">{@html renderMarkdown(value)}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
{/if}
|
||||
{#if bio}
|
||||
<hr />
|
||||
<!-- bios are sanitized before being passed to @html and the allowed markdown is heavily restricted -->
|
||||
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||
<p>{@html bio}</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue