I did request the fix of the paragraph generation, because I could not fix the problem with the custom-markup code. It’s one of the reasons, why it’s still in experimental state. I could create workarounds, but those workarounds cause other consistency problems. Workarounds make the code more complex, more fragile and less maintainable.
I did try again and again, but the issue is so low level, that there is no way to work around it, without changing the core code. … which is not 100% backwards compatible.