Fix inline custom emojis in codeblocks
Make sure that custom emojis in inline code blocks are not turned into images.
By calling preprocess text in texthandler
the whole function can be simplified as it will now never be called on any text inside any code block (which was the reason for all the split stuff previously).