Justoverclock Same as before. Invalid regular expression. Safari/iOS doesnā€™t like it. Thereā€™s a lot of posts online about it.

    010101 yes seems that Safari does not support look behind assertion....so i need to use a different regex. maybe @iPurpl3x can help me to find a solution?

    i will work on this btw

      Oh shoot. It's SO close... I just realized the latest one is ignoring anchor tags and other characters but it's including the preceding space...

        Justoverclock You won't be able to just test it with the regex online tool. There's something about adding a space before the anchor on line 15 that makes it fully work.

          @010101 unfortunately even this one can't work, because if u add 2 hashtag in the same post, the second return with "#" in the generated link

            Justoverclock Wow. Well, one of these times I'll get it. Another pull request is coming your way. This could be the winner. This solution adds in a couple extra .replace() and .trim() methods.

              0.1.9

              010101 Give it a full test on your mac šŸ™‚ and thx. Probably we have finally reached the goal toghether šŸ™‚

              Updating

              composer update justoverclock/flarum-ext-hashtag
              php flarum cache:clear