[fixes#80216144][fixes#80301796]further fix on escaping js symbols to avoid breaking tooltip data-attr