Jump to content

Dice roll input sanitization


matt_s

Recommended Posts

firefox 108.0.2

image.png.7b902600308defcdb20662fb55412362.png

I see the above when I switch back to default theme. If I type roll:1d20+3 in the above it works as expected. If I hit backspace and clear the strange "1   " text I get

image.png.3792bfe01b3dbd0ec069a2826a9c25d4.png

I can also do the same thing on chrome. I guess the "one" is something related to the dice formatting, but it can be deleted by the user as its part of the input field?

Link to comment
Share on other sites

×
×
  • Create New...