mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
add divs for html
This commit is contained in:
parent
902588638d
commit
323d80ef55
1 changed files with 4 additions and 4 deletions
|
|
@ -193,11 +193,11 @@ const RenderToken = ({ token, nested = false, noSpace = false }: { token: Token
|
|||
|
||||
if (t.type === "html") {
|
||||
return (
|
||||
<pre className={`bg-4oid-bg-2 p-4 rounded-lg ${noSpace ? '' : 'my-4'} font-mono text-sm`}>
|
||||
{`<html>`}
|
||||
<div className={`bg-4 bg-2 p-4 rounded-lg ${noSpace ? '' : 'my-4'} font-mono text-sm`}>
|
||||
<div>{`<html>`}</div>
|
||||
{t.raw}
|
||||
{`</html>`}
|
||||
</pre>
|
||||
<div>{`</html>`}</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue