diff --git a/luna.c b/luna.c index 926ea1f..f79718c 100644 --- a/luna.c +++ b/luna.c @@ -123,21 +123,25 @@ void *escape_unicode(char *in_buf, size_t header_size, size_t footer_size, size_ /* sub-routine of xml_compress() to fix occurrences of CDATA end sequence "]]>" in Lua scripts * by spitting them between two CDATA sections. Returns the new in_buf, or NULL if out of memory. */ +static const char cdata_restart[] = "]]>", 3)) { - *obuf_size += 12; // ]]>