kses can cut unicode text from tags attributes
|Reported by:||humator||Owned by:|
The following code
$string = preg_replace('/\xad+/', '', $string); # deals with Opera "feature"
in function wp_kses_bad_protocol can also break unicode letters. E.g. Russian word Экран was cut by this function by error (this word was in "alt" attribute). As a result the whole post was cut after that place.
The problem is that 0xAD symbol can appear in unicode text.
I would fix this bug, but unfortunately I don't know what Opera "feature" is mentioned here.