Commit f3f50b29d615d2678d8047dc277b108cc5143167 Parent 3ef0718f9f4c9dea5014a8a0e9a67e2366b9374f Author Nick Wellnhofer <wellnhofer@aevum.de> Date Sun, 19 Jan 2020 13:46:10 +0100 Rearrange struct cmark_node Introduce multi-purpose data/len members in struct cmark_node. This is mainly used to store literal text for inlines, code and HTML blocks. Move the content strbuf for blocks from cmark_node to cmark_parser. When finalizing nodes that allow inlines (paragraphs and headings), detach the strbuf and store the block content in the node's data/len members. Free the block content after processing inlines. Reduces size of struct cmark_node by 8 bytes.