Is #679 - add 'priority-attributes' to -show-config
This commit is contained in:
parent
ea4ae0dd13
commit
bb7c494657
|
@ -1445,6 +1445,24 @@ static void printOptionValues(TidyDoc ARG_UNUSED(tdoc), /**< The Tidy document.
|
|||
}
|
||||
}
|
||||
break;
|
||||
case TidyPriorityAttributes: /* Is #697 - This case seems missing */
|
||||
{
|
||||
TidyIterator itAttr = tidyOptGetPriorityAttrList(tdoc);
|
||||
if (itAttr && (itAttr != (TidyIterator)-1))
|
||||
{
|
||||
while (itAttr)
|
||||
{
|
||||
d->def = tidyOptGetNextPriorityAttr(tdoc, &itAttr);
|
||||
if (itAttr)
|
||||
{
|
||||
printf(fmt, d->name, d->type, d->def);
|
||||
d->name = "";
|
||||
d->type = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue