Allow dom-texts to take an optional separator.