summaryrefslogtreecommitdiffstatshomepage
path: root/mandoc-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc-db.c')
-rw-r--r--mandoc-db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mandoc-db.c b/mandoc-db.c
index 7af58beb..0c66efaf 100644
--- a/mandoc-db.c
+++ b/mandoc-db.c
@@ -1,4 +1,4 @@
-/* $Id: mandoc-db.c,v 1.4 2011/04/04 10:53:15 kristaps Exp $ */
+/* $Id: mandoc-db.c,v 1.5 2011/04/04 16:49:03 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -458,14 +458,14 @@ pmdoc_Fd(MDOC_ARGS)
*/
start = n->string;
- if ('<' == *start)
+ if ('<' == *start || '"' == *start)
start++;
if (0 == (sz = strlen(start)))
return;
end = &start[(int)sz - 1];
- if ('>' == *end)
+ if ('>' == *end || '"' == *end)
end--;
nil = '\0';