Having a text like this:
This is my<strong> Glossify</strong> text
and running Glossify on it, it results in:
This is myGlossify text, so spaces areremoved, because they were part of the inner wrapped word.
I already tried, if removing the trim() calls in Glossify would fix it, but it won't. So it might be harder to solve, I'm not yet sure, which part causes the issue.
Let's first create a test to show the issue.
Active
3.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.