Is #692 - correct message titles in head

This commit is contained in:
Geoff McLane 2018-03-17 14:24:27 +01:00
parent 0c182bbfa1
commit 3843cdc3aa
1 changed files with 3 additions and 1 deletions

View File

@ -851,8 +851,10 @@ TidyMessageImpl *formatStandard(TidyDocImpl* doc, Node *element, Node *node, uin
case COERCE_TO_ENDTAG:
case NON_MATCHING_ENDTAG:
case TOO_MANY_ELEMENTS_IN:
return TY_(tidyMessageCreateWithNode)(doc, rpt, code, level, node->element, node->element );
case TOO_MANY_ELEMENTS_IN:
return TY_(tidyMessageCreateWithNode)(doc, rpt, code, level, node->element, element->element);
}
return NULL;