ppfeufer / aa-fleetpings

App for Alliance Auth that can format your fleet pings and also ping for you to Discord.
https://pypi.org/project/aa-fleetpings/
GNU General Public License v3.0
2 stars 6 forks source link

Weird encoding when typing > in Doctrine field (and others) #185

Closed ehawman closed 3 months ago

ehawman commented 3 months ago

Bug Description

When trying to use < or > in the Fleet comms, Doctrine, or Formup Location fields (tested FC name, Fleet name, and Additional information fields and they don't exhibit this behavior), it toggles into a weird encoding loop. Test text&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; dje

Steps to Reproduce

Steps to reproduce the behavior:

  1. Click into one of the affected fields.
  2. Press Shift+. to insert a >
  3. Watch as each key press (including releasing . and Shift are converted into &amp;amp;gt;)

Expected behavior

>

Screenshots

If applicable, add screenshots to help explain your problem.

Please complete the following information:

Additional context

Oh whoa it does it for ' as well.

The only way to escape this mode is to triple-click left-mouse until you've highlighted all text, then backspace to delete.

ppfeufer commented 3 months ago

Interesting.

From what I could find, this is related to a bug in a JS library I'm using for this » https://github.com/sergiodlopes/jquery-flexdatalist/issues/230

I give it a couple of weeks to see if the dev of that lib is going to implement the promised patch or not and be looking for alternatives …

ppfeufer commented 3 months ago

A fix for this will be in the next release.

ehawman commented 3 months ago

Thank you!