This error happens in Snowman 2.0.3.
Instead of using standard Twine links, I have programmed a link that renders the next passage inside the current screen. It works but there’s a small problem: the first paragraph is missing its p tags.
The link code can be something like this
This creates a link with the id “#next”. When clicked, the link is removed, and the passage named “passge” is appended to the screen using the Snowman function story.render.
However, the HTML for the new passage looks like this:
First paragraph. <p></p> <p>Second paragraph.</p>
As far as I know, <%= story.render( ‘passage’ ) %> doesn’t cause this problem.
This causes CSS problems. Perhaps anyone has any idea of how to prevent this from happening? Thank you!