delete unnecessary if source
This commit is contained in:
parent
be4c504041
commit
459fbe6717
1 changed files with 9 additions and 11 deletions
|
|
@ -35,17 +35,15 @@
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if source}
|
{#key source}
|
||||||
{#key source}
|
{#if staticMarkdown.static}
|
||||||
{#if staticMarkdown.static}
|
<div>
|
||||||
<div>
|
{@html markdown}
|
||||||
{@html markdown}
|
</div>
|
||||||
</div>
|
{:else}
|
||||||
{:else}
|
<div use:setInnerHTML={markdown}></div>
|
||||||
<div use:setInnerHTML={markdown}></div>
|
{/if}
|
||||||
{/if}
|
{/key}
|
||||||
{/key}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue