From c9afaab2a84f592e4567b37b3551511381e734e4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Apr 2023 19:20:23 -0400 Subject: Add "longhand" mode to write rdf:type predicates normally --- src/writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/writer.c b/src/writer.c index 0b0574d5..30b8bb4e 100644 --- a/src/writer.c +++ b/src/writer.c @@ -841,7 +841,7 @@ write_uri_node(SerdWriter* const writer, const bool has_scheme = serd_uri_string_has_scheme(string.data); if (supports_abbrev(writer)) { - if (field == SERD_PREDICATE && + if (!(writer->flags & SERD_WRITE_LONGHAND) && field == SERD_PREDICATE && serd_node_equals(node, writer->world->rdf_type)) { return esink("a", 1, writer); } -- cgit v1.2.1