mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 19:44:59 +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>
|
||||
{:else if node.nodeName === 'BR'}
|
||||
<br/>
|
||||
{:else if node.nodeName === 'HR'}
|
||||
<hr/>
|
||||
{:else if node.nodeName === 'H1'}
|
||||
<h1><svelte:self nodes={node.childNodes}/></h1>
|
||||
{:else if node.nodeName === 'H2'}
|
||||
<h2><svelte:self nodes={node.childNodes}/></h2>
|
||||
{:else if node.nodeName === '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'}
|
||||
<li><svelte:self nodes={node.childNodes}/></li>
|
||||
{:else if node.nodeName === 'SPAN'}
|
||||
|
Loading…
Reference in New Issue
Block a user