fixed &nbsp; entity breaking preview