fix(es/react): handle apos JSX entities (#12125)