* htmlGetEndPriority: * @name: The name of the element to look up the priority for. * * Return value: The "endtag" priority. **/
| 1089 | * Return value: The "endtag" priority. |
| 1090 | **/ |
| 1091 | static int |
| 1092 | htmlGetEndPriority (const xmlChar *name) { |
| 1093 | int i = 0; |
| 1094 | |
| 1095 | while ((htmlEndPriority[i].name != NULL) && |
| 1096 | (!xmlStrEqual((const xmlChar *)htmlEndPriority[i].name, name))) |
| 1097 | i++; |
| 1098 | |
| 1099 | return(htmlEndPriority[i].priority); |
| 1100 | } |
| 1101 | |
| 1102 | |
| 1103 | /** |
no test coverage detected