aboutsummaryrefslogtreecommitdiffstats
path: root/src/read_ntriples.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/read_ntriples.c')
-rw-r--r--src/read_ntriples.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/read_ntriples.c b/src/read_ntriples.c
index 6822b64f..7a43e4c2 100644
--- a/src/read_ntriples.c
+++ b/src/read_ntriples.c
@@ -240,7 +240,8 @@ read_STRING_LITERAL(SerdReader* const reader,
static bool
avoid_blank_clashes(const SerdReader* const reader)
{
- return reader->syntax == SERD_TURTLE || reader->syntax == SERD_TRIG;
+ return (reader->syntax == SERD_TURTLE || reader->syntax == SERD_TRIG) &&
+ !(reader->flags & SERD_READ_VERBATIM);
}
static SerdStatus