Fix draglayer list building, so the element used as the text source can
contain any element, not only A tag or text node, but also e.g. span