equal
deleted
inserted
replaced
6236 if (cur->leftTag) { // push right-tags encountered |
6236 if (cur->leftTag) { // push right-tags encountered |
6237 tagStack.push(cur); |
6237 tagStack.push(cur); |
6238 } else { |
6238 } else { |
6239 tmp = tagStack.isEmpty() ? 0 : tagStack.pop(); |
6239 tmp = tagStack.isEmpty() ? 0 : tagStack.pop(); |
6240 if (!tmp) { |
6240 if (!tmp) { |
6241 if (((QLatin1Char('/') + cur->tag) == tag->tag) || |
6241 if ((QString(QLatin1Char('/') + cur->tag) == tag->tag) || |
6242 (tag->tag == QLatin1String("/font") && cur->tag.left(4) == QLatin1String("font"))) { |
6242 (tag->tag == QLatin1String("/font") && cur->tag.left(4) == QLatin1String("font"))) { |
6243 // set up the left and parent of this tag |
6243 // set up the left and parent of this tag |
6244 tag->leftTag = cur; |
6244 tag->leftTag = cur; |
6245 tmp = cur->prev; |
6245 tmp = cur->prev; |
6246 if (tmp && tmp->parent) { |
6246 if (tmp && tmp->parent) { |