mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-24 20:13:00 +03:00
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
eca130eb70
commit
5246bd769c
@ -37,12 +37,16 @@
|
|||||||
<code><svelte:self nodes={node.childNodes}/></code>
|
<code><svelte:self nodes={node.childNodes}/></code>
|
||||||
{:else if node.nodeName === 'BR'}
|
{:else if node.nodeName === 'BR'}
|
||||||
<br/>
|
<br/>
|
||||||
|
{:else if node.nodeName === 'HR'}
|
||||||
|
<hr/>
|
||||||
{:else if node.nodeName === 'H1'}
|
{:else if node.nodeName === 'H1'}
|
||||||
<h1><svelte:self nodes={node.childNodes}/></h1>
|
<h1><svelte:self nodes={node.childNodes}/></h1>
|
||||||
{:else if node.nodeName === 'H2'}
|
{:else if node.nodeName === 'H2'}
|
||||||
<h2><svelte:self nodes={node.childNodes}/></h2>
|
<h2><svelte:self nodes={node.childNodes}/></h2>
|
||||||
{:else if node.nodeName === 'UL'}
|
{:else if node.nodeName === 'UL'}
|
||||||
<ul><svelte:self nodes={node.childNodes}/></ul>
|
<ul><svelte:self nodes={node.childNodes}/></ul>
|
||||||
|
{:else if node.nodeName === 'OL'}
|
||||||
|
<ol><svelte:self nodes={node.childNodes}/></ol>
|
||||||
{:else if node.nodeName === 'LI'}
|
{:else if node.nodeName === 'LI'}
|
||||||
<li><svelte:self nodes={node.childNodes}/></li>
|
<li><svelte:self nodes={node.childNodes}/></li>
|
||||||
{:else if node.nodeName === 'SPAN'}
|
{:else if node.nodeName === 'SPAN'}
|
||||||
|
Loading…
Reference in New Issue
Block a user