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>
|
||||
|
||||
{#if source}
|
||||
{#key source}
|
||||
{#if staticMarkdown.static}
|
||||
<div>
|
||||
{@html markdown}
|
||||
</div>
|
||||
{:else}
|
||||
<div use:setInnerHTML={markdown}></div>
|
||||
{/if}
|
||||
{/key}
|
||||
{/if}
|
||||
{#key source}
|
||||
{#if staticMarkdown.static}
|
||||
<div>
|
||||
{@html markdown}
|
||||
</div>
|
||||
{:else}
|
||||
<div use:setInnerHTML={markdown}></div>
|
||||
{/if}
|
||||
{/key}
|
||||
|
||||
<style>
|
||||
div {
|
||||
|
|
|
|||
Loading…
Reference in a new issue