Commit ef7e5d43 authored by Michael Sweet's avatar Michael Sweet

Fix writing of custom data nodes (Issue #201)

parent 78f0221c
......@@ -11,6 +11,7 @@
- The mxmldoc utility now supports the `SOURCE_DATE_EPOCH` environment
variable for reproducible builds (Issue #193)
- The mxmldoc utility now supports Markdown (Issue #194)
- Fixed writing of custom data values (Issue #201)
- Added `mxmlNewOpaquef` and `mxmlSetOpaquef` functions to add and set formatted
opaque string values.
- The mxmldoc utility scanned and loaded descriptive text differently, causing
......
......@@ -2929,7 +2929,7 @@ mxml_write_node(mxml_node_t *node, /* I - Node to write */
const char *newline; /* Last newline in string */
if ((data = (*global->custom_save_cb)(node)) == NULL)
if ((data = (*global->custom_save_cb)(current)) == NULL)
return (-1);
if (mxml_write_string(data, p, putc_cb) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment