Did you open the custom module with Joomla editors like Tinymce or JCE ? Tinymce remove the span tags and i tags that used to present the icons. Please switch the editor to codemirror or none before editing. Or you can add the rule for tinymce like this
[Updates] 71+ Joomla templates are updated for Joomla 5.2 and Joomla 4.4.9Download Now