Fix markup() by calling markTree() from root of tree