Jacob Wodzyński

Results 244 comments of Jacob Wodzyński

To sum up the previous post: this solution seems to work but is unfortunately limited to only fix the issue in the "old" infoclick variant. I'm not sure I like...

I've merged your latest changes and tested, but I'm not sure that you verified how it works with the new infoclick. I'll see what I can do to fix this:...

You forgot to pull in the lastest `develop`. It seems to look good now.

These are the defaults, if keys are missing you get these in Admin: ![Skärmavbild 2022-09-06 kl 13 45 21](https://user-images.githubusercontent.com/110222/188628249-c961f109-4b86-46a4-a269-739dff55a219.png) Which in turn render the same in Client: ![Skärmavbild 2022-09-06 kl...

The issue lies here: https://github.com/hajkmap/Hajk/blob/ed6c87e89dd8261fe96de7e85707828b03bd3527/new-admin/src/views/search.jsx#L366 As per RegEx docs: > \w matches any word character (equivalent to [a-zA-Z0-9_]) There are two solutions now: a. either remove the check entirely or...

Thanks, this is a really good solution and I'll go with that. It seems to work for most cases, the only noticable exception I found is Hebrew (I'm not sure...

On a second though: something like this would match Hebrew characters too. But I'm not sure if how much it does in this case, as we allow pretty much any...

I think we'll settle with `^[\p{L}\u0590-\u05fe]+[-\p{L}\p{N}\u0590-\u05fe-]+(\s+[-\p{L}\p{N}\u0590-\u05fe_-]+)*$` which I tested with a variety of alphabets (including Latin, Cyrillic, Arabic, Hebrew as well as various asian glyphs from East Asian countries). There...

On a second thought: I'm allowing HTML too. This is needed if we want to make line breaks (using `` or ``). This wouldn't be possible in the current solution...

OK, pretty much done. This should significantly broaden the limits of what's possible with our Announcements function in Hajk. --- ![Skärmavbild 2022-09-07 kl 11 03 57](https://user-images.githubusercontent.com/110222/188838285-2c413c89-268c-4ea0-9366-c25d6170233a.png)