Well... I already had a fix laying around for this... The root cause of this is because of how the emoji transformer works
lets say we have bunch of emojis: :a: :b: :c: :d: :e:
the emoji transformer parses the next token (:a:), transforms it and returns itself :b: :c: :d: :e:, and it takes the next token(:b:) and so on (basically a recursion type of thing)
there is a harcoded limit on how many recursions there can be to prevent browsers from freezing because of infinite recursion errors and so that limit causes this bug to happen
so i updated the code to not recursively transform but in a single pass (find all stuff that needs to change, update them)
Thread
Comment by Meisho Doto
Comment by Fullest
Comment by Meisho Doto
:a: :b: :c: :d: :e:the emoji transformer parses the next token (:a:), transforms it and returns itself:b: :c: :d: :e:, and it takes the next token(:b:) and so on (basically a recursion type of thing) there is a harcoded limit on how many recursions there can be to prevent browsers from freezing because of infinite recursion errors and so that limit causes this bug to happen so i updated the code to not recursively transform but in a single pass (find all stuff that needs to change, update them)Screenshot_20261014_145748.png
715×248 | 101 kB Link to Screenshot_20261014_145748.png
Comment by Fullest
Comment by Hampus