* htmlTagLookup: * @tag: The tag name in lowercase * * Lookup the HTML tag in the ElementTable * * Returns the related htmlElemDescPtr or NULL if not found. */
| 1334 | * Returns the related htmlElemDescPtr or NULL if not found. |
| 1335 | */ |
| 1336 | const htmlElemDesc * |
| 1337 | htmlTagLookup(const xmlChar *tag) { |
| 1338 | if (tag == NULL) |
| 1339 | return(NULL); |
| 1340 | |
| 1341 | return((const htmlElemDesc *) bsearch(tag, html40ElementTable, |
| 1342 | sizeof(html40ElementTable) / sizeof(htmlElemDesc), |
| 1343 | sizeof(htmlElemDesc), htmlCompareTags)); |
| 1344 | } |
| 1345 | |
| 1346 | /** |
| 1347 | * htmlGetEndPriority: |
no outgoing calls
no test coverage detected