I, too, would take her to see the pediatrician. If it is indeed fungal then a topical cream will help. In the meantime wash all of her sheets, pillowcases, etc. after use. Also tea tree oil can help.
High Priestess JessMess, follower of the Goddess of the Coiling Way and Confiscator of Concoctions in the Order of the Curly Crusaders