You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a problem that is likely never going to show up again for anybody, but I'm using the plugin to run it with my Genesys homebrew skillset, and one of the skills has an & sign in it. When the json template is saved, it'll parse this & into an &, which later causes the dice roll helper to fail, as it will try to read a & when it should be reading an &.
It's an extremely minor problem which is unlikely to ever happen again for anybody else, but if you want to enable functionality for & symbols, you can alter line 181 of dice_helper.js by turning it into:
let skill = results['skill'].toLowerCase().replace('&', '&');
The replace there will make it able to find the html entities converted entry, at which point it'll start working again.
The text was updated successfully, but these errors were encountered:
This is a problem that is likely never going to show up again for anybody, but I'm using the plugin to run it with my Genesys homebrew skillset, and one of the skills has an & sign in it. When the json template is saved, it'll parse this & into an &, which later causes the dice roll helper to fail, as it will try to read a & when it should be reading an &.
It's an extremely minor problem which is unlikely to ever happen again for anybody else, but if you want to enable functionality for & symbols, you can alter line 181 of dice_helper.js by turning it into:
let skill = results['skill'].toLowerCase().replace('&', '&');
The replace there will make it able to find the html entities converted entry, at which point it'll start working again.
The text was updated successfully, but these errors were encountered: