Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ext/dom/html5_serializer.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <lexbor/encoding/encoding.h>

/* This file implements the HTML 5 serialization algorithm.
* https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments (Date 2023-12-14)
* https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments (Date 2024-12-11)
*/

#define TRY(x) do { if (UNEXPECTED((x) != SUCCESS)) { return FAILURE; } } while (0)
Expand Down Expand Up @@ -371,7 +371,9 @@ zend_result dom_html5_serialize(dom_html5_serialize_context *ctx, const xmlNode
children = node->children;
}

/* Step 4 */
/* Step 4 concerns shadow roots, but we don't have these, so skip. */

/* Step 5 */
return dom_html5_serialize_node(ctx, children, node);
}

Expand Down
12 changes: 0 additions & 12 deletions ext/mbstring/libmbfl/mbfl/mbfl_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@
#ifndef MBFL_DEFS_H
#define MBFL_DEFS_H

#ifndef NULL
#ifdef __cplusplus
#define NULL (0L)
#else
#define NULL (void *)(0L)
#endif
#endif

#ifndef SIZE_MAX
#define SIZE_MAX ((size_t)~0)
#endif

#ifdef _WIN32
#ifdef MBFL_DLL_EXPORT
#define MBFLAPI __declspec(dllexport)
Expand Down
2 changes: 1 addition & 1 deletion ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
#ifndef MBFL_ENCODING_H
#define MBFL_ENCODING_H

#include "zend.h"
#include "mbfl_defs.h"
#include "mbfl_consts.h"
#include "zend.h"

enum mbfl_no_encoding {
mbfl_no_encoding_invalid = -1,
Expand Down
Loading