* htmlGetEndPriority: * @name: The name of the element to look up the priority for. * * Return value: The "endtag" priority. **/
| 1350 | * Return value: The "endtag" priority. |
| 1351 | **/ |
| 1352 | static int |
| 1353 | htmlGetEndPriority (const xmlChar *name) { |
| 1354 | int i = 0; |
| 1355 | |
| 1356 | while ((htmlEndPriority[i].name != NULL) && |
| 1357 | (!xmlStrEqual((const xmlChar *)htmlEndPriority[i].name, name))) |
| 1358 | i++; |
| 1359 | |
| 1360 | return(htmlEndPriority[i].priority); |
| 1361 | } |
| 1362 | |
| 1363 | |
| 1364 | static int |
no test coverage detected