When saving an Illustrator file which contains some text as SVG, the text is converted to outlines. How can this be avoided? It is possible in Inkscape.
I have had the same problem for more than a year now, where Illustrator seems to randomly convert some text to path when exporting to SVG. (There are some patterns in this random behaviour though, it often happens when texts contain sub/superscript or when they are multiline, separated by soft returns).
It seems to be solved by using the Save As dialog instead of the Export for Screens dialog. When Saving As, the 'more options' you can choose for All Glyphs under Fonts > Subsetting. Now all text is saved as text, and not sometimes as outlines.