Sugarcube 2, twine 2.
Hi! I'm currently trying to work on a project with Twine 2, and an issue came up when trying to use the <div class="something"> </div>. When playing the game, the </div> would be hanging around at the end of the passage and I'm not sure why. The html css picks it up as functional, though it reveals it.
Here's what it looks like.
<div class="pp"><div class="cent">WAKE UP</div>
<<timed 3s>><div class="pblue">
For a brief moment, the room was silent. There were no creeks, no low mechanical humming from the wiring of the lights; nothing. However, even while under normal circumstances one would often find themselves in, it was clear that there could never be such a thing as “complete silence”. Noise exists whether it is wanted or unwanted. Deaf, or not. It can exist within, and beyond the realms of the common man. But here, in the this <<linkreplace room.>>room.
There was <<linkreplace nothing.>>nothing.
<<linkreplace 'Summon Nick'>> You have summoned Nick.
<<timed 2s>>And then you heard it.
<<audio "ambience" play>>
<<timed 1s>>The @@.rumble;kicking,@@<</timed>> <<timed 1.5s>>@@.rumble; screaming,@@<</timed>> <<timed 2s>>@@.rumble; yearning,@@<</timed>> <<timed 2.5s>>@@.rumble; crawling,@@<</timed>> <<timed 3s>>@@.rumble; scratching,@@<</timed>> <<timed 3.5s>>@@.rumble; sobbing.@@
<<timed 3s>>
It was an eruption of noise, and complete and utter chaos of what you could only assume were centuries worth of pain. It was then that a tall scrawny looking man came from out of the walls, pressing his hands up against the once metallic structure, like it were a womb. The skin ruptured, and out came him, and a river of <<linkreplace blood.>>blood.
He gasps. Coughing out the blood in his lungs and jumping up with his hands out. His eyes were wide open, and his face frozen in <<linkreplace terror.>>terror.
<<timed 2s>>
<div class="typed-speed5-delay800">"WHERE AM I?"</div> <<timed 3s>>he cried out.
<div class="typed-speed5-delay800">"LET ME OUT!"</div><</timed>></div>
<<timed 7s>> <<replace "#egg">>
<div class="choice">[[Calm down.]]</div>
<div class="choice">[[Silence.]]</div><</replace>><</timed>><</timed>><</linkreplace>><</linkreplace>><</timed>><</timed>><</timed>>
<</linkreplace>><</linkreplace>><</linkreplace>><</timed>></div><span id="egg"></span>
the section:
<<timed 2s>>
<div class="typed-speed5-delay800">"WHERE AM I?"</div> <<timed 3s>>he cried out.
<div class="typed-speed5-delay800">"LET ME OUT!"</div><</timed>></div>
is where it's occurring. Causing it to appear as so:
https://puu.sh/zuNjy/062f1a9c52.png
I'm not sure if it's the <<timed>> that's causing </div> to appear?