aboutsummaryrefslogtreecommitdiffstats
path: root/save.h
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2012-09-05 11:45:32 +0800
committerDaniel Veillard <veillard@redhat.com>2012-09-05 12:11:43 +0800
commit7d4c529a334845621e2f805c8ed0e154b3350cec (patch)
tree541645b371f66a4e28a9da123c70e53f4dfe7299 /save.h
parent857104cd494765daf0749ae4f7dd49563811b669 (diff)
downloadandroid_external_libxml2-7d4c529a334845621e2f805c8ed0e154b3350cec.tar.gz
android_external_libxml2-7d4c529a334845621e2f805c8ed0e154b3350cec.tar.bz2
android_external_libxml2-7d4c529a334845621e2f805c8ed0e154b3350cec.zip
Improve HTML escaping of attribute on output
Handle special cases of &{...} constructs as hinted in the spec http://www.w3.org/TR/html401/appendix/notes.html#h-B.7.1 and special values as comment <!-- ... --> used for server side includes This is limited to attribute values in HTML content.
Diffstat (limited to 'save.h')
-rw-r--r--save.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/save.h b/save.h
index f24f273f..2c32a103 100644
--- a/save.h
+++ b/save.h
@@ -25,6 +25,7 @@ void xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table);
void xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem);
void xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr);
void xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent);
+xmlChar *xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input);
#endif
#ifdef __cplusplus