Fix EZP-22313: HTML pasted into literal ends up outside literal tag