From 53fed50c8e37bf873196c2503814cd8b33acd298 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 24 Jun 2024 10:01:32 -0400 Subject: Write blank lines between graphs and statements in TriG --- src/writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/writer.c') diff --git a/src/writer.c b/src/writer.c index 2b127d04..c0f1a4a7 100644 --- a/src/writer.c +++ b/src/writer.c @@ -987,8 +987,8 @@ serd_writer_write_statement(SerdWriter* writer, (!graph && writer->context.graph.type)) { TRY(st, terminate_context(writer)); reset_context(writer, RESET_GRAPH | RESET_INDENT); + TRY(st, write_newline(writer)); if (graph) { - TRY(st, write_newline(writer)); TRY(st, write_node(writer, graph, datatype, lang, FIELD_GRAPH, flags)); TRY(st, write_sep(writer, SEP_GRAPH_BEGIN)); copy_node(&writer->context.graph, graph); -- cgit v1.2.1