summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-27 08:20:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-27 08:20:15 +0000
commit40047433f03f7588fe976e7c30c82cc1430840b7 (patch)
tree202374dfd892d8b8888714619194a48c0e3a0e37 /term.c
parent6abca7249ad0cbaff51be269f4d24ae7a7ba0abd (diff)
downloadmandoc-40047433f03f7588fe976e7c30c82cc1430840b7.tar.gz
More character-encoding.
Diffstat (limited to 'term.c')
-rw-r--r--term.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/term.c b/term.c
index a646666e..4a9e93d1 100644
--- a/term.c
+++ b/term.c
@@ -25,7 +25,7 @@
#include "term.h"
-#define INDENT 4
+#define INDENT 6
/*
* Performs actions on nodes of the abstract syntax tree. Both pre- and
@@ -279,7 +279,6 @@ arg_width(const struct mdoc_arg *arg)
{
size_t len, i, v;
- /* TODO */
assert(*arg->value);
if (0 == strcmp(*arg->value, "indent"))
return(INDENT);
@@ -1330,7 +1329,7 @@ termp_bq_pre(DECL_ARGS)
if (MDOC_BODY != node->type)
return(1);
- word(p, "[");
+ word(p, "\\[");
p->flags |= TERMP_NOSPACE;
return(1);
}
@@ -1354,7 +1353,7 @@ termp_pq_pre(DECL_ARGS)
if (MDOC_BODY != node->type)
return(1);
- word(p, "(");
+ word(p, "\\&(");
p->flags |= TERMP_NOSPACE;
return(1);
}