Fix issues with cjsx escape in attributes