I've run into the same bug and filed it against libtidy directly (#466890). I imagine if the change to libtidy only breaks elementtidy, however, the bug is more appropriately filed here.