I suspect this is the class of problem where we are pre-processing clipboard for safety.
Pasting in [test]
into rich text composer leads to \[test\]
in raw
Similarly pasting:
<a href="apple.com">apple</a>
leads to apple
in RTE (not a link)
but leads to apple if you paste it into raw
Feels highly related @renato ?