Small terminology change
Added fix for handling the newly allowed empty text elements. (Thx to gergely-ujvari)