Ensure topics on frontend are escaped correctly