WeakAuras

WeakAuras

206M Downloads

Monster Say trigger throws an error if the Message contains an apostrophe

jrowles opened this issue ยท 0 comments

commented

Describe the bug

I would expect the Message to be escaped automatically, but instead it throws an error when pressing OK in the Message field.

Do you have an error log of what happened?
[string "--[==[ Error in 'Return to Life' ]==] return function(state, ev..."]:10: ')' expected near 'kyr'

To Reproduce

Steps to reproduce the behavior:

  1. Create a new WA with the following Trigger:
  • Type: Event
  • Event: Chat Message
  • Message Type: Monster Say
  • Message Operator: Contains
  • Message: Type a phrase that contains an apostrophe
  1. Pressing OK in the Message field will result in the above error.

Screenshots
image

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
N/A

Which version of WeakAuras are you using?
3.1.6

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail

Was it working in a previous version? If yes, which was the last good one?
Unknown

Additional Info