* xmlEncodeEntitiesReentrant: * @doc: the document containing the string * @input: A string to convert to XML. * * Do a global encoding of a string, replacing the predefined entities * and non ASCII values with their entities and CharRef counterparts. * Contrary to xmlEncodeEntities, this routine is reentrant, and result * must be deallocated. * * Returns A newly allocated string with t
| 725 | * Returns A newly allocated string with the substitution done. |
| 726 | */ |
| 727 | xmlChar * |
| 728 | xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) { |
| 729 | return xmlEncodeEntitiesInternal(doc, input, 0); |
| 730 | } |
| 731 | |
| 732 | /** |
| 733 | * xmlEncodeSpecialChars: |
no test coverage detected