Sanitization of the TermTaxonomy attributes were surprizingly removing translation tags.
So, instead of a <!--:en-->Vineyards<!--:--><!--:ru-->Виноградники<!--:--><!--:md-->Podgorii<!--:--> attr value, the VineyardsВиноградникиPodgorii was stored into the DB.
This PR fixes the issue, hiding the translation tags before sanitizing them, and restoring them afterwards.
Sanitization of the
TermTaxonomy
attributes were surprizingly removing translation tags.So, instead of a
<!--:en-->Vineyards<!--:--><!--:ru-->Виноградники<!--:--><!--:md-->Podgorii<!--:-->
attr value, theVineyardsВиноградникиPodgorii
was stored into the DB.This PR fixes the issue, hiding the translation tags before sanitizing them, and restoring them afterwards.