Because the content of monospaced text is only defined by a range of indices.
The correct behavior should give:
Hello World
This could probably be fixed by making monospaced text hold an array of ranges and populating that array by looking at .start and .end delimiters in the delimiter array.
Some progress here: 2974873f1ef0f897aa6e9b63d92371f7b2ffb720
But problem now is it contains softbreaks and hardbreaks. Monospaced text should not contain hardbreaks.
This:
will give:
Because the content of monospaced text is only defined by a range of indices.
The correct behavior should give:
This could probably be fixed by making monospaced text hold an array of ranges and populating that array by looking at
.start
and.end
delimiters in the delimiter array.