0 votes
by (2.7k points)

Hi all,

while playing around with story-format snowman and actual Twine2 (online+offline) I wondered that a span is not displayed inline. Can anyone reproduce this or  is this due to my environment?

Thanks in advance!

Passage Code:

Line w/o span: Word1 Word2 Word3.

Line with span: Word1 [Word2]{#id.className} Word3.

 

Expected output:

Line w/o span: Word1 Word2 Word3.

Line with span: Word1 Word2 Word3.

 

But Firefox and Chrome on Xubuntu 14.04 resp.  Linux Mint 18 showed:

Line w/o span: Word1 Word2 Word3.

Line with span: Word1

Word2

Word3.

I would expect the span Word2 displayed inline, looking like the first line - which in fact has no span element.

 

1 Answer

0 votes
by (159k points)
selected by
 
Best answer

This is a known bug (Issue #22) in the current v1.3.0 release of Snowman.

You will need to change your first example to the following to achieve the result you want.

Line w/o span: Word1 Word2 Word3.

Line with span: Word1 <span id="id" class="className">Word2</span> Word3.

 

by (2.7k points)
Thank you very much, works as expected.

Next time, I will have a look first on the issue tracker before wondering :-)
...