Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

weird Snowman bug with italic text in links.

Okay so I found a very peculiar bug in Snowman where if you put italic text in a link, clicking on the italicized part will create the following error:
⚠ Uncaught Error: There is no passage with the ID or name ""

The weird thing is this ONLY applies to the italicized part. So if some of the text is italic and some of it isn't, the non-italic part of the link still works as expected. I've uploaded a little demonstration here: http://bphennessy.com/snowmanbug.html

Does anyone know what's going on here? Is there anything I can do to fix it on my end?

Comments

  • I would suggest creating a new issue on the Snowman 2 project website.

    Make sure you include the contents of your test passage as an example.
    eg.
    [[*Clicking Here Makes an Error.*|2]]
    
    [[Clicking Here Does Not.|2]]
    
    [[<em>An Error Here,</em> but not here|2]]
    
    [[Also happens with **Bold** and <u>Underline</u>|2]]
    
    [[Or with any html tag <span>(Like the span surrounding these brackets.)</span>|2]]
    
    *[[Italics outside the link seem fine.|2]]*
    
  • Yeah, this is definitely a bug. A greyelf mentioned, please add it over on Bitbucket and I'll take a look.
Sign In or Register to comment.