When adding a math formula to the translation, the math formula is rendered but it also includes the code for it, which is displayed as translated. [[ https://ca.wikipedia.org/wiki/Special:ContentTranslation?page=User:CXTests/T223375&from=en&to=ca&targettitle=User:CXTests/published/T223375&version=2 | This quick link to test ]] let's you translate an [[ https://en.wikipedia.org/wiki/User:CXTests/T223375 | example article ]] and check [[ https://ca.wikipedia.org/wiki/Usuari:CXTests/published/T223375 | the published result ]] for this issue:
The expected result would be to have just the formula rendered in the translation, not rendering the the source code of such formula. Note that in the rendering of the math formula source, some words are shown as translated (see "p rimer"), although those translations are not included in the translation contents when inspected or published.
Interestingly, the math formula source is no longer displayed when the display options are adjusted to "inline" or "block", as illustrated below:
In addition, an unmodified content warning is shown which makes no sense since math formulas are not expected to be edited. Math formulas should be excluded for this check.