From 1cf1ec9a8f893a41910a300d9d8f1e6c20288287 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Wed, 19 Nov 2014 20:24:08 +0100 Subject: Stackless HTML rendering Now that every node has a parent pointer, it's possible to implement the HTML rendering functions without render stacks and any dynamic memory allocations. This commit also adds some minor optimizations that eliminate some strbuf_put* calls for the common case and avoid printf for headers. --- api_test/main.c | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'api_test') diff --git a/api_test/main.c b/api_test/main.c index f484a53..35570e9 100644 --- a/api_test/main.c +++ b/api_test/main.c @@ -197,7 +197,7 @@ accessors(test_batch_runner *runner) "

Item 2

\n" "\n" "\n" - "