The upgrade to Markdown.it v13 broke empty inline BBCodes The behavior of the processDelimiters function changed. It doesn’t update the end attribute of our BBCode delimiters anymore when the BBCode doesn’t have any content.
I’ve created a PR that restores the previous behavior and adds a test.