The Latex markup is not displayed correctly. Now, if the neural network adds formulas to sentences (i.e., if the formula is not written in a separate paragraph), then the markup is displayed as tags, and not as a full-fledged formula.