Tweego, insert regular HTML in Twee file, and keep it in output HTML?

Twine Version: 2
Harlowe 3
Tweego

This might be dumb, but if I insert regular HTML, like this:

::Start
This is a standard paragraph with Twine markup.

<div>
    <h2>This is an HTML Heading</h2>
    <p>This paragraph uses standard HTML tags within a div.</p>
    <ul>
        <li>Item One</li>
        <li>Item Two</li>
    </ul>
</div>

The converted index.HTML file changes code, it is &lt; and &gt;, instead of keeping them as < or >

That’s how Twine stores HTML, because it has to store the contents of a passage inside another HTML element.

It’s turned back into normal HTML when you show the passage.

Thanks David,
Will index.html break if I insert back the original HTML? (CSS styles, JS scripts, tables, etc)

Are you editing the game file directly instead of using Twine or tweego? If so, you can change the CSS, and JS, but if you put raw HTML into a passage then yes, it will break.

But I am not sure why you’d want to edit it directly? Maybe if you explain what you are trying to do, then it would be easier to give advice.

No specific reason tbh. It is just that it makes me weary seeing all those &lt; and &gt;.
But since the exported table works fine I will leave it like that.

Now I’m curious why you are staring at the HTML document at all.

In all my Twine games I seldom have any reason to look at the compiled source directly as part of development.