add divs for html

This commit is contained in:
Andrew Pareles 2025-02-06 03:02:46 -08:00
parent 902588638d
commit 323d80ef55

View file

@ -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>
)
}